Update
This commit is contained in:
@@ -16,6 +16,8 @@ class ProcessCrawlShotJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public $timeout = 120;
|
||||
|
||||
protected string $jobUuid;
|
||||
|
||||
public function __construct(string $jobUuid)
|
||||
@@ -52,7 +54,6 @@ public function handle(): void
|
||||
'status' => 'completed',
|
||||
'completed_at' => now()
|
||||
]);
|
||||
|
||||
} catch (\Exception $e) {
|
||||
Log::error("Job {$this->jobUuid} failed: " . $e->getMessage());
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
'waits' => [
|
||||
'redis:default' => 60,
|
||||
'redis:default' => 120,
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -189,9 +189,9 @@
|
||||
'maxProcesses' => 1,
|
||||
'maxTime' => 0,
|
||||
'maxJobs' => 0,
|
||||
'memory' => 128,
|
||||
'memory' => 4096,
|
||||
'tries' => 1,
|
||||
'timeout' => 60,
|
||||
'timeout' => 120,
|
||||
'nice' => 0,
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user