# File lib/earthquake/ext.rb, line 4 def reconnect_after timeout @reconnect_callback.call(timeout, @reconnect_retries) if @reconnect_callback if timeout == 0 reconnect @options[:host], @options[:port] start_tls if @options[:ssl] else EM.add_timer(timeout) do reconnect @options[:host], @options[:port] start_tls if @options[:ssl] end end end