Skip to content

Commit

Permalink
Merge pull request #24152 from totten/5.51-batchsize
Browse files Browse the repository at this point in the history
Importer - Increase size of queue batches
  • Loading branch information
totten authored Aug 4, 2022
2 parents 09d01a7 + 8875ee9 commit 047979b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/Import/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public function queue() {
$totalRowCount = $totalRows = $dataSource->getRowCount(['new']);
$queue = Civi::queue('user_job_' . $this->getUserJobID(), ['type' => 'Sql', 'error' => 'abort']);
$offset = 0;
$batchSize = 5;
$batchSize = 50;
while ($totalRows > 0) {
if ($totalRows < $batchSize) {
$batchSize = $totalRows;
Expand Down
3 changes: 2 additions & 1 deletion release-notes/5.51.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ Released August 3, 2022
## <a name="bugs"></a>Bugs resolved

* **_CiviContribute_: Cannot submit credit cards via backend form (on certain configurations) ([dev/core#3774](https://lab.civicrm.org/dev/core/-/issues/3774): [#24144](https://github.com/civicrm/civicrm-core/pull/24144))**
* **_Importer_: Increase size of queue batches ([#24152](https://github.com/civicrm/civicrm-core/pull/24152))**

## <a name="credits"></a>Credits

This release was developed by the following authors and reviewers:

Wikimedia Foundation - Eileen McNaughton; Megaphone Technology Consulting - Jon Goldberg;
JMA Consulting - Seamus Lee; CiviCRM - Tim Otten
JMA Consulting - Seamus Lee; CiviCRM - Tim Otten; Andy Burns

## <a name="feedback"></a>Feedback

Expand Down

0 comments on commit 047979b

Please sign in to comment.