summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp6
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)