admin/config/gateway_worker.php
@@ -32,6 +32,7 @@ 'lanIp' => '127.0.0.1', 'startPort' => 2000, 'daemonize' => false, 'pidFile' => runtime_path() . 'gateway_worker.pid', 'pingInterval' => 30, 'pingNotResponseLimit' => 1, 'pingData' => '', @@ -43,4 +44,9 @@ 'eventHandler' => '\app\gateway\Events', ], // Register配置pid文件 'registerPidFile' => runtime_path() . 'gateway_register.pid', 'gatewayPidFile' => runtime_path() . 'gateway_gateway.pid', 'businessWorkerPidFile' => runtime_path() . 'gateway_business.pid', ];