This commit is contained in:
2020-08-31 14:52:28 +08:00
parent df49c40163
commit 8b1bf6c04a
6 changed files with 24 additions and 8 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class ServerManager
}
[$category, $config, $handlers, $settings] = $process;
$server = new $category[1](...static::parameter($application, $config, $category));
$server->set($settings ?? [], $handlers, $config);
$server->set($settings ?? [], $pool, $handlers, $config);
static::notice($application, $workerId, $config);
if (property_exists($server, 'pack')) {
$server->pack = $config['message']['pack'] ?? function ($data) {