mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Start plugin postgres db if separate
This commit is contained in:
parent
800114b837
commit
cecda7c32b
@ -139,6 +139,8 @@ class Maubot(Program):
|
||||
try:
|
||||
await self.db.start()
|
||||
await self.state_store.upgrade_table.upgrade(self.db)
|
||||
if self.plugin_postgres_db and self.plugin_postgres_db is not self.db:
|
||||
await self.plugin_postgres_db.start()
|
||||
if self.crypto_db and self.crypto_db is not self.db:
|
||||
await self.crypto_db.start()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user