Updated Timeout settings for ProjectDownloadRDSJob

This commit is contained in:
Martin Folkerts 2025-04-09 07:45:51 +00:00
parent eb9803fbf1
commit aedca761f8

View file

@ -17,7 +17,9 @@
class ProjectDownloadRDSJob implements ShouldQueue class ProjectDownloadRDSJob implements ShouldQueue
{ {
use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels; use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
protected Project $project;
public $timeout = 800;
protected Project $project;
protected Carbon $date; protected Carbon $date;
protected int $offset; protected int $offset;
@ -41,7 +43,7 @@ public function handle(): void
]; ];
$process = new Process($command); $process = new Process($command);
$process->setTimeout(600); $process->setTimeout(800);
$process->run(); $process->run();
if (!$process->isSuccessful()) { if (!$process->isSuccessful()) {