Skip to content

Commit

Permalink
D'Oh!. Fix last commit..
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Oct 29, 2024
1 parent 87baf48 commit 466471c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BackgroundJob/Tasks/CreateClustersTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private function createClusterIfNeeded(string $userId) {
$sliceSize = $facesCount;

// Now calculate it if there is a batch size configured.
$batchSize = -1;//$this->settingsService->getClusterigBatchSize();
$batchSize = $this->settingsService->getClusterigBatchSize();
if ($facesCount > 0 && $batchSize > 0) {
// The minimum batch size is 2000 faces.
$batchSize = max($batchSize, 2000);
Expand Down

0 comments on commit 466471c

Please sign in to comment.