mirror of
https://github.com/znc/znc.git
synced 2026-08-08 01:43:03 +02:00
Fix delay between receiving signal in separate thread and handling it
Also this allows increasing maximum wait time in poll(), though it doesn't matter much
This commit is contained in:
+2
-2
@@ -243,8 +243,8 @@ void CZNC::Loop() {
|
||||
}
|
||||
|
||||
// Csocket wants micro seconds
|
||||
// 100 msec to 5 sec
|
||||
m_Manager.DynamicSelectLoop(100 * 1000, 5 * 1000 * 1000);
|
||||
// 100 msec to 5 min
|
||||
m_Manager.DynamicSelectLoop(100 * 1000, 5 * 60 * 1000 * 1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user