Skip to content

Commit

Permalink
Fix retry_after to be an integer (#50580)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Mar 15, 2024
1 parent c018aa1 commit 5ffafe3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
'connection' => env('DB_QUEUE_CONNECTION'),
'table' => env('DB_QUEUE_TABLE', 'jobs'),
'queue' => env('DB_QUEUE', 'default'),
'retry_after' => env('DB_QUEUE_RETRY_AFTER', 90),
'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90),
'after_commit' => false,
],

'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'),
'queue' => env('BEANSTALKD_QUEUE', 'default'),
'retry_after' => env('BEANSTALKD_QUEUE_RETRY_AFTER', 90),
'retry_after' => (int) env('BEANSTALKD_QUEUE_RETRY_AFTER', 90),
'block_for' => 0,
'after_commit' => false,
],
Expand All @@ -67,7 +67,7 @@
'driver' => 'redis',
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => env('REDIS_QUEUE_RETRY_AFTER', 90),
'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90),
'block_for' => null,
'after_commit' => false,
],
Expand Down

0 comments on commit 5ffafe3

Please sign in to comment.