diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 01:56:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 01:56:03 +0000 |
commit | 609873a2abf96a67b29eec1b37cc81c31857376b (patch) | |
tree | 9a4b7b110b6cc53925bee62bc21a914443431d37 /src | |
parent | 5b08c0883c83c95ceca07e590620fe254b17f6ab (diff) |
Changed from 30 second debug pings to 120 sec production pings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1483 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 2f6cbd6d5..9fb5070dd 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -82,7 +82,7 @@ ircd_connector::ircd_connector() port = 0; sendq = ""; WriteError = ""; - nextping = TIME+30; + nextping = TIME+120; replied = false; } @@ -188,7 +188,7 @@ bool ircd_connector::CheckPing() if (this->replied) { this->AddWriteBuf("?\n"); - this->nextping = TIME+30; + this->nextping = TIME+120; this->replied = false; return true; } @@ -207,7 +207,7 @@ void ircd_connector::ResetPing() { log(DEBUG,"Reset ping counter"); this->replied = true; - this->nextping = TIME+30; + this->nextping = TIME+120; } // send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it) |