Skip to content

Commit

Permalink
Fix Code Style
Browse files Browse the repository at this point in the history
  • Loading branch information
nasrulhazim committed Oct 17, 2024
1 parent 10a9656 commit 2c41a59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/AppPulseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public function packageBooted()
$chunk = config('app-pulse.scheduler.chunk');

$schedule->command("monitor:check-status --queue={$queue} --chunk={$chunk}")
->everyMinute()
->when(function () use ($interval) {
// Only run if the interval matches
return now()->minute % $interval === 0;
});
->everyMinute()
->when(function () use ($interval) {
// Only run if the interval matches
return now()->minute % $interval === 0;
});
}
}

0 comments on commit 2c41a59

Please sign in to comment.