fix: default value

This commit is contained in:
Andras Bacsai 2023-07-14 13:03:58 +02:00
parent e9ba295a1e
commit 2f613aed26
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ protected function schedule(Schedule $schedule): void
{
if (isDev()) {
$schedule->command('horizon:snapshot')->everyMinute();
$schedule->job(new ProxyCheckJob)->everyFiveMinutes();
// $schedule->job(new CheckResaleLicenseJob)->hourly();
// $schedule->job(new DockerCleanupJob)->everyOddHour();
// $schedule->job(new InstanceAutoUpdateJob(true))->everyMinute();

View File

@ -15,7 +15,7 @@ class ProxyCheckJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public function __construct(protected Server|null $server)
public function __construct(protected Server|null $server = null)
{
}
public function handle()