Skip to content

Commit

Permalink
Update image pull schedule to every five minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed May 9, 2024
1 parent 094bb37 commit 1bb0d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ private function pull_helper_image($schedule)
{
$servers = Server::all()->where('settings.is_usable', true)->where('settings.is_reachable', true)->where('ip', '!=', '1.2.3.4');
foreach ($servers as $server) {
$schedule->job(new PullSentinelImageJob($server))->everyMinute()->onOneServer();
$schedule->job(new PullHelperImageJob($server))->everyTenMinutes()->onOneServer();
$schedule->job(new PullSentinelImageJob($server))->everyFiveMinutes()->onOneServer();
$schedule->job(new PullHelperImageJob($server))->everyFiveMinutes()->onOneServer();
}
}
private function check_resources($schedule)
Expand Down

0 comments on commit 1bb0d54

Please sign in to comment.