xiang 6 жил өмнө
parent
commit
d474e13395

+ 3 - 3
vendor/GatewayWorker_linux/GatewayWorker/Applications/whisper/start_gateway.php

@@ -64,9 +64,9 @@ $gateway->registerAddress = '127.0.0.1:1238';
 
 // 心跳间隔
 $gateway->pingInterval = 40;
-$gateway->pingNotResponseLimit = 2;
-$gateway->pingData = '{"message_type":"ping"}';
-
+$gateway->pingNotResponseLimit = 3;
+// $gateway->pingData = '{"message_type":"ping"}';
+$gateway->pingData = '';
 $tmpPath = isset($_SERVER['TEMP']) ? $_SERVER['TEMP'] : '/tmp';
 Worker::$logFile = $tmpPath . '/workerman_' . date("Y-m-d") . '.log';
 Worker::$stdoutFile = $tmpPath . '/stdout_' . date("Y-m-d") . '.log';