1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 12:36:38 +02:00

Only process sockets after loading the db when using db_sql{_live}.

This avoids slow startups for the 95% of users who are using the
db_flatfile database backend.
This commit is contained in:
Sadie Powell
2024-11-19 00:18:16 +00:00
parent de16238e01
commit 7083c424c2
2 changed files with 8 additions and 1 deletions
-1
View File
@@ -556,7 +556,6 @@ void Anope::Init(int ac, char **av)
EventReturn MOD_RESULT;
FOREACH_RESULT(OnLoadDatabase, MOD_RESULT, ());
static_cast<void>(MOD_RESULT);
SocketEngine::Process();
Log() << "Databases loaded";
FOREACH_MOD(OnPostInit, ());