summaryrefslogtreecommitdiff
path: root/src/socketengine_kqueue.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-30 17:14:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-30 17:14:52 +0000
commit1f8c12807a3b31b6e1c3fe2c5e2394acdf9ebb5a (patch)
tree78089afe765b9b12fd55ed9929f2dccf016bd6fb /src/socketengine_kqueue.cpp
parentc364a4743f879523c0316ff6da318f1212d8b0b7 (diff)
Change delays to 1 sec.
NOTE: The chances of this actually waiting for 1 sec on any sizeable network are miniscule git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6176 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_kqueue.cpp')
-rw-r--r--src/socketengine_kqueue.cpp4
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++)
{