mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Skip queueing duplicate certificate generation event
This commit is contained in:
1 parent
278679ab10
commit
a05010e048
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user