From 509f06c2f00b4b3aa17d76b11d43cca1b1de2e25 Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 28 Oct 2024 11:41:59 +0200 Subject: [PATCH] injecting poolForQueue to schedulers --- src/Appwrite/Platform/Tasks/ScheduleBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Tasks/ScheduleBase.php b/src/Appwrite/Platform/Tasks/ScheduleBase.php index a7015405ab..0403afa7cb 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleBase.php +++ b/src/Appwrite/Platform/Tasks/ScheduleBase.php @@ -34,7 +34,7 @@ abstract class ScheduleBase extends Action $this ->desc("Execute {$type}s scheduled in Appwrite") - ->inject('queuePool') + ->inject('poolForQueue') ->inject('dbForConsole') ->inject('getProjectDB') ->callback(fn (Pool $poolForQueue, Database $dbForConsole, callable $getProjectDB) => $this->action($poolForQueue, $dbForConsole, $getProjectDB));