Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-05-20 16:45:59 +08:00
1 parent ae25a243ac
commit 7ba7476c4f
13 files changed
+190 -26

No files matched your search

+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)