Commit 888e77ed by Vladislav

Выставил timeout и время для повтора задания

1 parent 67a0264f
Showing with 5 additions and 3 deletions
......@@ -21,6 +21,8 @@ class ProcessCallAPI implements ShouldQueue
private $api;
private $limitId;
public $timeout = 1500;
/**
* Create a new job instance.
*
......
......@@ -38,14 +38,14 @@ return [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
'retry_after' => 1800,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
'retry_after' => 1800,
'block_for' => 0,
],
......@@ -63,7 +63,7 @@ return [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 90,
'retry_after' => 1800,
'block_for' => 5,
],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!