# encoding: utf-8 module Hatetepe # @see EM.heartbeat_interval class Server::Timeouts def initialize(config, _, connection) @config = config @connection = connection @config[:timeout] ||= 2.0 end def setup @connection.comm_inactivity_timeout = @config[:timeout] end end end