fix: default value
This commit is contained in:
parent
e9ba295a1e
commit
2f613aed26
@ -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();
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user