mirror of
https://github.com/znc/znc.git
synced 2026-08-03 07:23:19 +02:00
Decrease max select()/poll() timeout to 5 sec.
With signals on a different thread, select() isn't interrupted anymore. Probably need to wake up it differently now...
This commit is contained in:
+2
-2
@@ -237,8 +237,8 @@ void CZNC::Loop() {
|
||||
}
|
||||
|
||||
// Csocket wants micro seconds
|
||||
// 100 msec to 600 sec
|
||||
m_Manager.DynamicSelectLoop(100 * 1000, 600 * 1000 * 1000);
|
||||
// 100 msec to 5 sec
|
||||
m_Manager.DynamicSelectLoop(100 * 1000, 5 * 1000 * 1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user