From 2f066a6ba8e6e10a36e40aff7fc14901cbe23a9c Mon Sep 17 00:00:00 2001 From: Darshan Date: Fri, 16 Jan 2026 18:41:22 +0530 Subject: [PATCH] add: check. --- .../Platform/Modules/Functions/Http/Executions/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php index 16308760d0..6d2048b233 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php @@ -544,7 +544,7 @@ class Create extends Base DeleteEvent $queueForDeletes ): void { /* cleanup */ - if ($executionsRetentionCount > 0) { + if ($executionsRetentionCount > 0 && ENABLE_EXECUTIONS_LIMIT_ON_ROUTE) { $queueForDeletes ->setProject($project) ->setResource($resourceId)