Skip to content
Snippets Groups Projects
Commit 24d21dc7 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Increase batch size.

parent 6327ea9e
No related branches found
No related tags found
No related merge requests found
Pipeline #457305 canceled
...@@ -40,6 +40,8 @@ class DrushCommands extends BaseDrushCommands { ...@@ -40,6 +40,8 @@ class DrushCommands extends BaseDrushCommands {
'@count' => $count_users_not_migrated, '@count' => $count_users_not_migrated,
'@ids' => $user_ids_as_string, '@ids' => $user_ids_as_string,
])); ]));
// @todo do something about it.
} }
} }
...@@ -99,8 +101,8 @@ class DrushCommands extends BaseDrushCommands { ...@@ -99,8 +101,8 @@ class DrushCommands extends BaseDrushCommands {
*/ */
protected function usersFromDatabaseANotInDatabaseB($database_a, $database_b) { protected function usersFromDatabaseANotInDatabaseB($database_a, $database_b) {
$count_users = $this->getUserCounts($database_a); $count_users = $this->getUserCounts($database_a);
// Memory usage around 30MB for 20000. // Memory usage around 40MB for 30000.
$length = 20000; $length = 30000;
$offset = 0; $offset = 0;
$extra_users = []; $extra_users = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment