Skip to content

Commit

Permalink
Merge pull request #118 from cego/rab/skip-locked-configurable
Browse files Browse the repository at this point in the history
Fix typo in useSkipLocked
  • Loading branch information
RasmusBorup authored Dec 30, 2024
2 parents f894364 + 28eb3f6 commit e927811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestInsurance/RequestInsuranceWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public function getIdsOfReadyRequests()
->readyToBeProcessed()
->take(Config::get('request-insurance.batchSize'));

if (config('request-insurance.useSkipLockede')) {
if (config('request-insurance.useSkipLocked')) {
$builder->lock('FOR UPDATE SKIP LOCKED');
} else {
$builder->lockForUpdate();
Expand Down

0 comments on commit e927811

Please sign in to comment.