diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-19 00:18:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-19 00:39:00 +0000 |
commit | 7083c424c25e797a8ffbded27ecb4fc8f93e0dd3 (patch) | |
tree | 1ba3d431cc8bb999ec4307a7cca5ee4bcc78cf7d /src | |
parent | de16238e019223eb1b06eb791ec2abdf29b8700c (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/init.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index e32bafb74..39d1033c6 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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, ()); |