We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54cf9db commit 15e0224Copy full SHA for 15e0224
src/Illuminate/Concurrency/ConcurrencyManager.php
@@ -71,7 +71,9 @@ public function createSyncDriver(array $config)
71
*/
72
public function getDefaultInstance()
73
{
74
- return $this->app['config']['concurrency.default'] ?? 'process';
+ return $this->app['config']['concurrency.default']
75
+ ?? $this->app['config']['concurrency.driver']
76
+ ?? 'process';
77
}
78
79
/**
@@ -83,6 +85,7 @@ public function getDefaultInstance()
83
85
public function setDefaultInstance($name)
84
86
87
$this->app['config']['concurrency.default'] = $name;
88
+ $this->app['config']['concurrency.driver'] = $name;
89
90
91
0 commit comments