diff --git a/app/Browser/BrowserJob.php b/app/Browser/BrowserJob.php index 6c20e72..027c27d 100644 --- a/app/Browser/BrowserJob.php +++ b/app/Browser/BrowserJob.php @@ -28,6 +28,8 @@ abstract class BrowserJob implements ShouldQueue public int $jobId; + public $timeout = 300; + public function __construct(int $jobId) { $this->jobId = $jobId; diff --git a/dockerEntryPoint.sh b/dockerEntryPoint.sh index 631798f..00a81ec 100644 --- a/dockerEntryPoint.sh +++ b/dockerEntryPoint.sh @@ -7,7 +7,7 @@ php ./artisan migrate --force php ./artisan optimize:clear && php ./artisan optimize # Queue worker -php ./artisan queue:work --queue=high,default --tries=3 --timeout=90 --sleep=3 --daemon --no-interaction & +php ./artisan queue:work --queue=high,default --tries=3 --timeout=300 --sleep=3 --daemon --no-interaction & # Start all of the server sumulataneously php ./artisan serve --no-interaction -vvv --port=80 --host=0.0.0.0