Skip to content

Commit 9ad7f7b

Browse files
committed
update configuration
1 parent df9eb8f commit 9ad7f7b

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

config/cache.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
| same cache driver to group types of items stored in your caches.
2828
|
2929
| Supported drivers: "array", "database", "file", "memcached",
30-
| "redis", "dynamodb", "octane", "null"
30+
| "redis", "dynamodb", "octane",
31+
| "failover", "null"
3132
|
3233
*/
3334

@@ -90,6 +91,14 @@
9091
'driver' => 'octane',
9192
],
9293

94+
'failover' => [
95+
'driver' => 'failover',
96+
'stores' => [
97+
'database',
98+
'array',
99+
],
100+
],
101+
93102
],
94103

95104
/*
@@ -103,6 +112,6 @@
103112
|
104113
*/
105114

106-
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
115+
'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-cache-'),
107116

108117
];

config/queue.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
| used by your application. An example configuration is provided for
2525
| each backend supported by Laravel. You're also free to add more.
2626
|
27-
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "failover", "null"
27+
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis",
28+
| "deferred", "failover", "null"
2829
|
2930
*/
3031

@@ -72,11 +73,15 @@
7273
'after_commit' => false,
7374
],
7475

76+
'deferred' => [
77+
'driver' => 'deferred',
78+
],
79+
7580
'failover' => [
7681
'driver' => 'failover',
7782
'connections' => [
7883
'database',
79-
'sync',
84+
'deferred',
8085
],
8186
],
8287

0 commit comments

Comments
 (0)