Fix queue
This commit is contained in:
@ -28,6 +28,8 @@ abstract class BrowserJob implements ShouldQueue
|
||||
|
||||
public int $jobId;
|
||||
|
||||
public $timeout = 300;
|
||||
|
||||
public function __construct(int $jobId)
|
||||
{
|
||||
$this->jobId = $jobId;
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user