Asyncify event storage.

This commit is contained in:
flash 2025-04-27 00:31:33 +00:00
commit 0a7e01f154
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E
8 changed files with 63 additions and 60 deletions
SharpChat

View file

@ -129,7 +129,7 @@ if(string.IsNullOrWhiteSpace(config.SafeReadValue("mariadb:host", string.Empty))
} else {
MariaDBEventStorage mdbes = new(MariaDBEventStorage.BuildConnString(config.ScopeTo("mariadb")));
evtStore = mdbes;
mdbes.RunMigrations();
await mdbes.RunMigrations();
}
if(hasCancelled) return;