Skip to content

Commit

Permalink
fix: Only use working Batch size if it has not been decreased since t…
Browse files Browse the repository at this point in the history
…he last time
  • Loading branch information
hmennen90 committed Dec 2, 2024
1 parent 8be222f commit fcb84ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function getCallback($cronjobStartAsMicrotime): \Closure

$workingBatchSize = $this->moduleConfigService->getWorkingBatchSize();

if($workingBatchSize){
if($workingBatchSize && $workingBatchSize < $limit){
$this->logInfo("Working Batch Size found: " . $workingBatchSize);
$limit = $workingBatchSize;}

Expand Down

0 comments on commit fcb84ab

Please sign in to comment.