Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit dfc3afe

Browse files
committed
Update queue.php
1 parent 4f906c3 commit dfc3afe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

config/queue.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@
3636

3737
'database' => [
3838
'driver' => 'database',
39-
'connection' => env('DB_QUEUE_CONNECTION', null),
39+
'connection' => env('DB_QUEUE_CONNECTION'),
4040
'table' => env('DB_QUEUE_TABLE', 'jobs'),
4141
'queue' => env('DB_QUEUE', 'default'),
42-
'retry_after' => env('DB_QUEUE_RETRY_AFTER', 90),
42+
'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90),
4343
'after_commit' => false,
4444
],
4545

4646
'beanstalkd' => [
4747
'driver' => 'beanstalkd',
4848
'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'),
4949
'queue' => env('BEANSTALKD_QUEUE', 'default'),
50-
'retry_after' => env('BEANSTALKD_QUEUE_RETRY_AFTER', 90),
50+
'retry_after' => (int) env('BEANSTALKD_QUEUE_RETRY_AFTER', 90),
5151
'block_for' => 0,
5252
'after_commit' => false,
5353
],
@@ -56,18 +56,18 @@
5656
'driver' => 'sqs',
5757
'key' => env('AWS_ACCESS_KEY_ID'),
5858
'secret' => env('AWS_SECRET_ACCESS_KEY'),
59-
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
59+
'prefix' => env('SQS_PREFIX', 'https://sqs.eu-west-1.amazonaws.com/your-account-id'),
6060
'queue' => env('SQS_QUEUE', 'default'),
6161
'suffix' => env('SQS_SUFFIX'),
62-
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
62+
'region' => env('AWS_DEFAULT_REGION', 'eu-west-1'),
6363
'after_commit' => false,
6464
],
6565

6666
'redis' => [
6767
'driver' => 'redis',
6868
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
6969
'queue' => env('REDIS_QUEUE', 'default'),
70-
'retry_after' => env('REDIS_QUEUE_RETRY_AFTER', 90),
70+
'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90),
7171
'block_for' => null,
7272
'after_commit' => false,
7373
],

0 commit comments

Comments
 (0)