Don't sleep. Just log the error

This commit is contained in:
Tatsuhiro Tsujikawa 2012-06-06 21:44:08 +09:00
parent faee23a925
commit 28ed887463
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ int cache_downstream_host_address()
namespace {
void evlistener_errorcb(evconnlistener *listener, void *ptr)
{
sleep(1);
LOG(ERROR) << "Accepting incoming connection failed";
}
} // namespace