mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
perf: ensure plugin deps on startup (#858)
This commit is contained in:
@@ -30,6 +30,8 @@ class PersistenceManager:
|
||||
self.meta = base.Base.metadata
|
||||
|
||||
async def initialize(self):
|
||||
|
||||
self.ap.logger.info("Initializing database...")
|
||||
|
||||
for manager in database.preregistered_managers:
|
||||
self.db = manager(self.ap)
|
||||
|
||||
Reference in New Issue
Block a user