fix cleanup idStr string

This commit is contained in:
xiaomlove
2023-07-17 02:00:20 +08:00
parent 8e5cd7dd60
commit 2249bdd936
2 changed files with 2 additions and 2 deletions

View File

@@ -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");

View File

@@ -49,7 +49,7 @@ class CalculateUserSeedBonus implements ShouldQueue
public $tries = 1;
public $timeout = 600;
public $timeout = 3600;
/**
* Execute the job.