Skip to content

Commit

Permalink
spl依赖2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Mar 7, 2023
1 parent 106a105 commit 9284ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private function extraHandler()
$serverName = Config::getInstance()->getConf('SERVER_NAME').".{$mode}";
//注册Task进程
$config = Config::getInstance()->getConf('MAIN_SERVER.TASK');
$config = TaskManager::getInstance()->getConfig()->merge($config);
$config = TaskManager::getInstance()->getConfig()->restore($config);
$config->setTempDir(EASYSWOOLE_TEMP_DIR);
$config->setServerName($serverName);
$config->setOnException(function (\Throwable $throwable) {
Expand Down

0 comments on commit 9284ce5

Please sign in to comment.