[feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987)

This commit is contained in:
kim
2023-07-24 13:14:13 +01:00
committed by GitHub
parent 81fe59dadc
commit 9eff0d46e4
33 changed files with 1287 additions and 219 deletions

View File

@@ -58,7 +58,7 @@ func (p *Processor) MediaPrune(ctx context.Context, mediaRemoteCacheDays int) gt
go func() {
ctx := context.Background()
p.cleaner.Media().All(ctx, mediaRemoteCacheDays)
p.cleaner.Emoji().All(ctx)
p.cleaner.Emoji().All(ctx, mediaRemoteCacheDays)
}()
return nil