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