This commit is contained in:
2023-03-31 10:26:04 +08:00
parent 71eb325e80
commit 518318ddc8
2 changed files with 5 additions and 3 deletions
-3
View File
@@ -144,9 +144,6 @@ class AsyncServer implements ServerInterface
$settings[Constant::OPTION_DAEMONIZE] = (bool)$daemon;
$settings[Constant::OPTION_ENABLE_REUSE_PORT] = true;
$settings[Constant::OPTION_PID_FILE] = storage('.swoole.pid');
if ($settings[Constant::OPTION_ENABLE_COROUTINE] ?? false) {
Runtime::enableCoroutine();
}
if (!isset($settings[Constant::OPTION_PID_FILE])) {
$settings[Constant::OPTION_LOG_FILE] = storage('system.log');
}