Skip to content

Commit cd6e372

Browse files
committed
Wrap the precise backoff query to repository style
1 parent 4f8d6ce commit cd6e372

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/V2/Support/TaskRepairCandidates.php‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,11 @@ private static function existingTaskQuery(
713713
$claimRepairable
714714
->where(static function ($backoffReady) use ($now): void {
715715
$backoffReady->whereNotNull('repair_available_at')
716-
->where('repair_available_at', '<=', $now->format(self::TIMESTAMP_FORMAT));
716+
->where(
717+
'repair_available_at',
718+
'<=',
719+
$now->format(self::TIMESTAMP_FORMAT)
720+
);
717721
})
718722
->orWhere(static function ($legacyClaimFailure) use (
719723
$staleDispatchCutoff

0 commit comments

Comments
 (0)