Skip to content

Commit fbef34c

Browse files
[Fix] Using correct concurrency configuration index name (#52788)
1 parent 4b47b4e commit fbef34c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Concurrency/ConcurrencyManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function createSyncDriver(array $config)
7171
*/
7272
public function getDefaultInstance()
7373
{
74-
return $this->app['config']['concurrency.default'] ?? 'process';
74+
return $this->app['config']['concurrency.driver'] ?? 'process';
7575
}
7676

7777
/**
@@ -82,7 +82,7 @@ public function getDefaultInstance()
8282
*/
8383
public function setDefaultInstance($name)
8484
{
85-
$this->app['config']['concurrency.default'] = $name;
85+
$this->app['config']['concurrency.driver'] = $name;
8686
}
8787

8888
/**
@@ -94,7 +94,7 @@ public function setDefaultInstance($name)
9494
public function getInstanceConfig($name)
9595
{
9696
return $this->app['config']->get(
97-
'concurrency.drivers.'.$name, ['driver' => $name],
97+
'concurrency.driver.'.$name, ['driver' => $name],
9898
);
9999
}
100100
}

0 commit comments

Comments
 (0)