Pārlūkot izejas kodu

higher ping check

Paul Klumpp 12 gadi atpakaļ
vecāks
revīzija
4a62433d87
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)