Implement protection from flood.

For ZNC-server connection
This commit is contained in:
Alexey Sokolov
2012-03-21 19:48:26 +07:00
parent 3aa6b581fc
commit c98abf00a5
6 changed files with 106 additions and 5 deletions
+2 -2
View File
@@ -188,8 +188,8 @@ void CZNC::Loop() {
}
// Csocket wants micro seconds
// 500 msec to 600 sec
m_Manager.DynamicSelectLoop(500 * 1000, 600 * 1000 * 1000);
// 100 msec to 600 sec
m_Manager.DynamicSelectLoop(100 * 1000, 600 * 1000 * 1000);
}
}