lib/envoy/server/trunk.rb in envoy-proxy-0.2.2 vs lib/envoy/server/trunk.rb in envoy-proxy-0.2.3

- old
+ new

@@ -13,11 +13,11 @@ def self.trunks @trunks ||= Hash.new{|h,k|h[k] = []} end def post_init - self.comm_inactivity_timeout = 25 + self.comm_inactivity_timeout = 60 end def hosts @hosts ||= [] end @@ -25,10 +25,10 @@ def channels @channels ||= {} end def receive_pong - EM.add_timer 5 do + EM.add_timer 30 do send_object :ping end end def receive_close id, code = nil