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:
Alexey Sokolov
2016-01-23 11:02:06 +00:00
parent 82b30ced5e
commit e14e3586e1
2 changed files with 37 additions and 2 deletions
+2 -2
View File
@@ -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);
}
}