Skip queueing duplicate certificate generation event

This commit is contained in:
Hemachandar
2025-12-12 13:51:05 +05:30
parent 278679ab10
commit a05010e048
@@ -129,7 +129,8 @@ class Update extends Action
throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.');
}
if ($rule->getAttribute('verification') === true) {
// If rule is already verified or in certificate generation state, don't queue for verification again
if ($rule->getAttribute('verification') === true || $rule->getAttribute('status') === 'verifying') {
return $response->dynamic($rule, Response::MODEL_PROXY_RULE);
}