From 2667d9e90cecea080b20beb17d8b7fd0ef0d08da Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 19 Jun 2024 11:27:50 +0100 Subject: Update the databases more regularly. --- modules/database/db_sql_live.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/database/db_sql_live.cpp b/modules/database/db_sql_live.cpp index 839126d41..ea1fb1a27 100644 --- a/modules/database/db_sql_live.cpp +++ b/modules/database/db_sql_live.cpp @@ -37,7 +37,7 @@ private: } else { - if (Anope::CurTime - Config->GetBlock("options")->Get("updatetimeout", "5m") > lastwarn) + if (Anope::CurTime - Config->GetBlock("options")->Get("updatetimeout", "2m") > lastwarn) { Log() << "Unable to locate SQL reference, going to readonly..."; Anope::ReadOnly = this->ro = true; -- cgit