diff options
Diffstat (limited to 'src/connections.cc')
| -rw-r--r-- | src/connections.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections.cc b/src/connections.cc index 548b073..a1111df 100644 --- a/src/connections.cc +++ b/src/connections.cc @@ -338,7 +338,7 @@ void ProcessConnections(void){ // NOTE(fusion): Block for 1 second at most, so we can properly timeout // idle connections. ASSERT(NumFds > 0); - int NumEvents = poll(Fds, NumFds, 1); + int NumEvents = poll(Fds, NumFds, 1000); if(NumEvents == -1){ if(errno != ETIMEDOUT && errno != EINTR){ LOG_ERR("Failed to poll connections: (%d) %s", |
