diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-29 16:52:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-29 16:52:56 +0000 |
commit | 312bd003e10a6eabfb29d1b3791c757b3056b4b4 (patch) | |
tree | 3b33d8e1b3f487de5d4f7f6dddf5d9ca0e77910d | |
parent | 91f1703ce72f0195534439b77b8602918f43723e (diff) |
All the other socketengines have a 1s wait on their 'poll' equivalent. GetQueuedCompletionStatus had a delay of 100ms. Upped to 1s to be more sane and more in line with the other socket engines.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7185 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/socketengine_iocp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine_iocp.cpp b/src/socketengine_iocp.cpp index 1ec70d289..96e824899 100644 --- a/src/socketengine_iocp.cpp +++ b/src/socketengine_iocp.cpp @@ -210,7 +210,7 @@ int IOCPEngine::DispatchEvents() int ret; unsigned long bytes_recv; - while(GetQueuedCompletionStatus(m_completionPort, &len, (PULONG_PTR)&intfd, &overlap, 100)) + while(GetQueuedCompletionStatus(m_completionPort, &len, (PULONG_PTR)&intfd, &overlap, 1000)) { // woot, we got an event on a socket :P eh = ref[intfd]; |