Explorar o código

higher ping check

Paul Klumpp %!s(int64=12) %!d(string=hai) anos
pai
achega
4a62433d87
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      em_server.rb

+ 1 - 1
em_server.rb

@@ -936,7 +936,7 @@ module CentralProtocolHandler
           if @ping_timer
             EventMachine.cancel_timer(@ping_timer)
           end
-          @ping_timer = EventMachine.add_periodic_timer 90, proc { write_user("PING alive?") }
+          @ping_timer = EventMachine.add_periodic_timer 180, proc { write_user("PING alive?") }
 
           # work on input
           inputter = inputting(line)