summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-08 17:22:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-08 17:22:12 +0000
commit1674c21da1f2539806250982dc91ac7ad8a24984 (patch)
treed444806b3b55b826fe4f3ed3d3840c858e6a3f62 /src/inspircd.cpp
parentb3a880124666297e73f55c73936998810542ec78 (diff)
Increased how often socket timeout checks occur which will mean flushing write buffers more often
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3142 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index dc7a1cfb0..80960d151 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -646,6 +646,13 @@ int InspIRCd::Run()
DoBackgroundUserStuff(TIME);
}
+ /* Process timeouts on module sockets each time around
+ * the loop. There shouldnt be many module sockets, at
+ * most, 20 or so, so this won't be much of a performance
+ * hit at all.
+ */
+ DoSocketTimeouts(TIME);
+
/* Call the socket engine to wait on the active
* file descriptors. The socket engine has everything's
* descriptors in its list... dns, modules, users,