]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
All the other socketengines have a 1s wait on their 'poll' equivalent. GetQueuedCompl...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 29 May 2007 16:52:56 +0000 (16:52 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 29 May 2007 16:52:56 +0000 (16:52 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7185 e03df62e-2008-0410-955e-edbf42e46eb7

src/socketengine_iocp.cpp

index 1ec70d2893a4afd3ce36819b8a533a86b1266681..96e8248997bc73b1829de79a60822849edf3bf5b 100644 (file)
@@ -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];