Skip to content

Commit

Permalink
fix: default value
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Jul 14, 2023
1 parent e9ba295 commit 2f613ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/ProxyCheckJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2f613ae

Please sign in to comment.