]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Increased how often socket timeout checks occur which will mean flushing write buffer...
[user/henk/code/inspircd.git] / src / inspircd.cpp
index dc7a1cfb09996ebfc27fb8d3afb24145e04431a6..80960d15124846f8c311ec2d8541990110ed81bb 100644 (file)
@@ -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,