From 1d3942622a4c9db824eb6cbe51fc10031dd721ce Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Tue, 5 Jun 2012 08:25:52 -0500 Subject: [PATCH] this can cause crazy runaway reconnects, need to rethink --- src/roles/server.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roles/server.hpp b/src/roles/server.hpp index 8d0d447759..24a9616c18 100644 --- a/src/roles/server.hpp +++ b/src/roles/server.hpp @@ -341,8 +341,8 @@ void server::handle_accept(connection_ptr con, con->m_fail_reason = "too many files open"; // TODO: make this configurable - m_timer.expires_from_now(boost::posix_time::milliseconds(1000)); - m_timer.async_wait(boost::bind(&type::start_accept,this)); + //m_timer.expires_from_now(boost::posix_time::milliseconds(1000)); + //m_timer.async_wait(boost::bind(&type::start_accept,this)); } else if (error == boost::asio::error::operation_aborted) { con->m_fail_reason = "io_service operation canceled";