Changed ping timers and timeout settings to use more reasonable values. Also changed timeout type for irc and client sockets.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1297 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2008-12-21 09:03:04 +00:00
parent de3fb7f3dc
commit 110485eaaf
3 changed files with 5 additions and 4 deletions

View File

@@ -679,7 +679,7 @@ void CClient::LoginTimeout() {
void CClient::Connected() {
DEBUG_ONLY(cout << GetSockName() << " == Connected();" << endl);
SetTimeout(900); // Now that we are connected, let nature take its course
SetTimeout(240, TMO_READ); // Now that we are connected, let nature take its course
}
void CClient::ConnectionRefused() {
@@ -687,6 +687,7 @@ void CClient::ConnectionRefused() {
}
void CClient::Disconnected() {
DEBUG_ONLY(cout << GetSockName() << " == Disconnected()" << endl);
if (m_pUser) {
m_pUser->UserDisconnected(this);
}