xiang 6 년 전
부모
커밋
d474e13395
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      vendor/GatewayWorker_linux/GatewayWorker/Applications/whisper/start_gateway.php

+ 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';