Skip to content

Commit

Permalink
added after_commit to queue
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Mar 17, 2021
1 parent 777e1d1 commit 22b6687
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@

'sync' => [
'driver' => 'sync',
'after_commit' => env('QUEUE_AFTER_COMMIT', true),
],

'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
'after_commit' => env('QUEUE_AFTER_COMMIT', true),
],

'beanstalkd' => [
Expand All @@ -47,6 +49,7 @@
'queue' => 'default',
'retry_after' => 90,
'block_for' => 0,
'after_commit' => env('QUEUE_AFTER_COMMIT', true),
],

'sqs' => [
Expand All @@ -57,6 +60,7 @@
'queue' => env('SQS_QUEUE', 'default'),
'suffix' => env('SQS_SUFFIX'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'after_commit' => env('QUEUE_AFTER_COMMIT', true),
],

'redis' => [
Expand All @@ -65,6 +69,7 @@
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 90,
'block_for' => null,
'after_commit' => env('QUEUE_AFTER_COMMIT', true),
],

],
Expand Down

0 comments on commit 22b6687

Please sign in to comment.