Skip to content

Commit 1b78030

Browse files
committed
Fix compatibility with old queue names
1 parent e21aab2 commit 1b78030

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/mail.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
*/
9292

9393
'from' => [
94-
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
95-
'name' => env('MAIL_FROM_NAME', 'Example'),
94+
'address' => env('MAIL_FROM_ADDRESS', env('MAIL_FROM')),
95+
'name' => env('MAIL_FROM_NAME', 'Pterodactyl Panel'),
9696
],
9797

9898
/*

config/queue.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
'database' => [
3434
'driver' => 'database',
3535
'table' => 'jobs',
36-
'queue' => 'default',
36+
'queue' => env('QUEUE_STANDARD', 'default'),
3737
'retry_after' => 90,
3838
'after_commit' => false,
3939
],
@@ -43,7 +43,7 @@
4343
'key' => env('AWS_ACCESS_KEY_ID'),
4444
'secret' => env('AWS_SECRET_ACCESS_KEY'),
4545
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
46-
'queue' => env('SQS_QUEUE', 'default'),
46+
'queue' => env('SQS_QUEUE', env('QUEUE_STANDARD', 'default')),
4747
'suffix' => env('SQS_SUFFIX'),
4848
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
4949
'after_commit' => false,
@@ -52,7 +52,7 @@
5252
'redis' => [
5353
'driver' => 'redis',
5454
'connection' => 'default',
55-
'queue' => env('REDIS_QUEUE', 'default'),
55+
'queue' => env('REDIS_QUEUE', env('QUEUE_STANDARD', 'default')),
5656
'retry_after' => 90,
5757
'block_for' => null,
5858
'after_commit' => false,

0 commit comments

Comments
 (0)