From 8d4c6a8218101a00ea6336b2c37f6cfabbe5cd2c Mon Sep 17 00:00:00 2001 From: fogelito Date: Tue, 16 Dec 2025 17:17:03 +0200 Subject: [PATCH] patch $batchSize --- src/Appwrite/Platform/Tasks/ScheduleBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Platform/Tasks/ScheduleBase.php b/src/Appwrite/Platform/Tasks/ScheduleBase.php index 3853f0d9b3..bcfcffcc98 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleBase.php +++ b/src/Appwrite/Platform/Tasks/ScheduleBase.php @@ -219,6 +219,7 @@ abstract class ScheduleBase extends Action if (!empty($projectIdsToLoad)) { $projectIdsToLoad = array_values($projectIdsToLoad); $batchSize = 10_000; + $batchSize = 499; $batches = array_chunk($projectIdsToLoad, $batchSize); $projectsLoadStart = microtime(true);