fix
This commit is contained in:
@@ -380,6 +380,12 @@ func main() {
|
||||
} else if n > 0 {
|
||||
log.Printf("worker: ai call log cleanup removed=%d older_than_days=%d", n, aiaudit.RetentionDays)
|
||||
}
|
||||
// Cost rollup is kept for years, unlike the prompt bodies above.
|
||||
if n, err := aiaudit.CleanupExpiredUsage(ctx, pool); err != nil {
|
||||
log.Printf("worker: ai usage cleanup: %v", err)
|
||||
} else if n > 0 {
|
||||
log.Printf("worker: ai usage cleanup removed=%d older_than_days=%d", n, aiaudit.UsageRetentionDays)
|
||||
}
|
||||
if res, err := processing.CleanupExpiredSyncJobs(ctx, pool); err != nil {
|
||||
log.Printf("expired sync cleanup: %v", err)
|
||||
} else if res.SyncJobsDeleted > 0 {
|
||||
|
||||
Reference in New Issue
Block a user