diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-10 21:31:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-10 21:31:51 +0000 |
commit | 764a2abfc5fe30050471d82d8012da9fdf58aa88 (patch) | |
tree | 86fc782a8b946d5a2ef421698dba5453a3237656 /src | |
parent | 07bd0f4f16b8d9e172d9d5aa438cd5a72712bc5f (diff) |
Increased ping frequency from 1 minute to 5 minutes (1 minute is kind of overkill)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2766 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index f2137e1d0..5fd6bc5af 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -203,7 +203,7 @@ class TreeServer { VersionString = ""; UserCount = OperCount = 0; - this->SetNextPingTime(time(NULL) + 60); + this->SetNextPingTime(time(NULL) + 300); this->SetPingFlag(); /* find the 'route' for this server (e.g. the one directly connected @@ -2630,7 +2630,7 @@ class ModuleSpanningTree : public Module if (serv->AnsweredLastPing()) { sock->WriteLine(":"+Srv->GetServerName()+" PING "+serv->GetName()); - serv->SetNextPingTime(curtime + 60); + serv->SetNextPingTime(curtime + 300); } else { |