From a05010e04852de03a70668b3cf904bdfcfd36d8a Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Fri, 12 Dec 2025 13:51:05 +0530 Subject: [PATCH] Skip queueing duplicate certificate generation event --- .../Platform/Modules/Proxy/Http/Rules/Verification/Update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php index af61f25f05..acd3a2e3ae 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php @@ -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); }