mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
patch $batchSize
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user