summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-06-19 11:27:50 +0100
committerSadie Powell <sadie@witchery.services>2024-06-19 11:28:21 +0100
commit2667d9e90cecea080b20beb17d8b7fd0ef0d08da (patch)
tree174cdeeb0d50dba4b125ca1f7e8e63d6d4fbd033 /modules
parentf2b66278aa4dae89533510f59216510fa1bec2f5 (diff)
Update the databases more regularly.
Diffstat (limited to 'modules')
-rw-r--r--modules/database/db_sql_live.cpp2
1 files changed, 1 insertions, 1 deletions
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<time_t>("updatetimeout", "5m") > lastwarn)
+ if (Anope::CurTime - Config->GetBlock("options")->Get<time_t>("updatetimeout", "2m") > lastwarn)
{
Log() << "Unable to locate SQL reference, going to readonly...";
Anope::ReadOnly = this->ro = true;