Skip to content

Commit 0620525

Browse files
authored
Merge pull request #24151 from totten/5.52-batchsize
Importer - Increase size of queue batches
2 parents a6818d9 + 2a7c499 commit 0620525

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CRM/Import/Parser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public function queue() {
694694
$totalRowCount = $totalRows = $dataSource->getRowCount(['new']);
695695
$queue = Civi::queue('user_job_' . $this->getUserJobID(), ['type' => 'Sql', 'error' => 'abort']);
696696
$offset = 0;
697-
$batchSize = 5;
697+
$batchSize = 50;
698698
while ($totalRows > 0) {
699699
if ($totalRows < $batchSize) {
700700
$batchSize = $totalRows;

release-notes/5.52.0.md

+3
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ Released August 3, 2022
322322

323323
## <a name="misc"></a>Miscellany
324324

325+
- **_Importer_: Increase size of queue batches
326+
([#24152](https://github.com/civicrm/civicrm-core/pull/24152))**
327+
325328
- **RepeatTransaction - separate out repeat pledge handling from completeOrder
326329
([23931](https://github.com/civicrm/civicrm-core/pull/23931))**
327330

0 commit comments

Comments
 (0)