From f752b7209cdd6291393c716c7771094f43513b88 Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Fri, 13 Sep 2024 19:36:48 -0300 Subject: [PATCH] [Fix] Using correct concurrency configuration index name --- src/Illuminate/Concurrency/ConcurrencyManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Concurrency/ConcurrencyManager.php b/src/Illuminate/Concurrency/ConcurrencyManager.php index 27646401bd21..b92272c0fb94 100644 --- a/src/Illuminate/Concurrency/ConcurrencyManager.php +++ b/src/Illuminate/Concurrency/ConcurrencyManager.php @@ -71,7 +71,7 @@ public function createSyncDriver(array $config) */ public function getDefaultInstance() { - return $this->app['config']['concurrency.default'] ?? 'process'; + return $this->app['config']['concurrency.driver'] ?? 'process'; } /** @@ -82,7 +82,7 @@ public function getDefaultInstance() */ public function setDefaultInstance($name) { - $this->app['config']['concurrency.default'] = $name; + $this->app['config']['concurrency.driver'] = $name; } /** @@ -94,7 +94,7 @@ public function setDefaultInstance($name) public function getInstanceConfig($name) { return $this->app['config']->get( - 'concurrency.drivers.'.$name, ['driver' => $name], + 'concurrency.driver.'.$name, ['driver' => $name], ); } }