diff --git a/app/Console/Commands/Cleanup.php b/app/Console/Commands/Cleanup.php index d2a2d39e..b3398ac3 100644 --- a/app/Console/Commands/Cleanup.php +++ b/app/Console/Commands/Cleanup.php @@ -33,7 +33,7 @@ class Cleanup extends Command $action = $this->option('action'); $beginId = $this->option('begin_id'); $endId = $this->option('end_id'); - $idStr = $this->option('id_str'); + $idStr = $this->option('id_str') ?: ""; $commentRequestId = $this->option('request_id'); $delay = $this->option('delay') ?: 0; $this->info("beginId: $beginId, endId: $endId, idStr: $idStr, commentRequestId: $commentRequestId, delay: $delay, action: $action"); diff --git a/app/Jobs/CalculateUserSeedBonus.php b/app/Jobs/CalculateUserSeedBonus.php index 5ec3be37..91a5c61a 100644 --- a/app/Jobs/CalculateUserSeedBonus.php +++ b/app/Jobs/CalculateUserSeedBonus.php @@ -49,7 +49,7 @@ class CalculateUserSeedBonus implements ShouldQueue public $tries = 1; - public $timeout = 600; + public $timeout = 3600; /** * Execute the job.