Add files via upload

This commit is contained in:
公明
2026-05-20 16:45:59 +08:00
committed by GitHub
parent ae25a243ac
commit 7ba7476c4f
13 changed files with 190 additions and 26 deletions
+1
View File
@@ -96,6 +96,7 @@ func New(cfg *config.Config, log *logger.Logger, configPath string) (*App, error
}
auditSvc := audit.NewService(db, cfg, log.Logger)
audit.RegisterConversationCreateHook(auditSvc)
auditSvc.PurgeExpired()
audit.StartRetentionLoop(auditSvc, log.Logger)