fix(backend): concurrent map writes

This commit is contained in:
pycook
2025-03-05 21:23:41 +08:00
parent 57291e6737
commit 9d77450ffb
2 changed files with 53 additions and 7 deletions

View File

@@ -36,7 +36,6 @@ func initDB() {
logger.L().Fatal("Failed to drop index", zap.Error(err))
}
defer db.Close()
}
func RunApi() error {