From ea5bd5160a2fda5339204328c5a1ed8b4fd5bea6 Mon Sep 17 00:00:00 2001 From: Matej Baco Date: Tue, 15 Nov 2022 14:01:06 +0100 Subject: [PATCH] Linter fix --- src/Appwrite/Platform/Tasks/schedule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/schedule.php b/src/Appwrite/Platform/Tasks/schedule.php index 36c28be141..2598f9cd62 100644 --- a/src/Appwrite/Platform/Tasks/schedule.php +++ b/src/Appwrite/Platform/Tasks/schedule.php @@ -77,7 +77,7 @@ class Schedule extends Action while ($sum === $limit) { $paginationQueries = [Query::limit($limit)]; if ($latestDocument !== null) { - $paginationQueries[] = Query::cursorAfter($latestDocument); + $paginationQueries[] = Query::cursorAfter($latestDocument); } $results = $dbForConsole->find('schedules', \array_merge($paginationQueries, [ Query::equal('region', [App::getEnv('_APP_REGION')]), @@ -93,7 +93,7 @@ class Schedule extends Action $latestDocument = !empty(array_key_last($results)) ? $results[array_key_last($results)] : null; } - + $pools->reclaim(); Console::success("{$total} functions where loaded in " . (microtime(true) - $loadStart) . " seconds");