Skip to content

Commit 69d0c7f

Browse files
Merge pull request #138 from sajjadhossainshohag/sajjadhossainshohag-patch-1
Added `failover` driver to `queue` config
2 parents d1a08d0 + 6233589 commit 69d0c7f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

config/queue.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
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", "null"
27+
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "failover", "null"
2828
|
2929
*/
3030

@@ -72,6 +72,14 @@
7272
'after_commit' => false,
7373
],
7474

75+
'failover' => [
76+
'driver' => 'failover',
77+
'connections' => [
78+
'database',
79+
'sync',
80+
],
81+
],
82+
7583
],
7684

7785
/*

0 commit comments

Comments
 (0)