mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
patch $batchSize
This commit is contained in:
parent
1a09913a27
commit
8d4c6a8218
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue