diff options
Diffstat (limited to 'src/socketengine_kqueue.cpp')
-rw-r--r-- | src/socketengine_kqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socketengine_kqueue.cpp b/src/socketengine_kqueue.cpp index ebc1fffbd..b56ca264c 100644 --- a/src/socketengine_kqueue.cpp +++ b/src/socketengine_kqueue.cpp @@ -132,8 +132,8 @@ int KQueueEngine::GetRemainingFds() int KQueueEngine::DispatchEvents() { - ts.tv_nsec = 5000L; - ts.tv_sec = 0; + ts.tv_nsec = 0; + ts.tv_sec = 1; int i = kevent(EngineHandle, NULL, 0, &ke_list[0], MAX_DESCRIPTORS, &ts); for (int j = 0; j < i; j++) { |