diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 6e5947515d92..9963fbe78d82 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -671,7 +671,7 @@ public function queue(): void { $queue = Civi::queue('user_job_' . $this->getUserJobID(), ['type' => 'Sql', 'error' => 'abort', 'runner' => 'task', 'user_job_id' => $this->getUserJobID()]); UserJob::update(FALSE)->setValues(['queue_id.name' => 'user_job_' . $this->getUserJobID()])->addWhere('id', '=', $this->getUserJobID())->execute(); $offset = 0; - $batchSize = 5; + $batchSize = 50; while ($totalRows > 0) { if ($totalRows < $batchSize) { $batchSize = $totalRows;