1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Archive read entries automatically after 60 days

This commit is contained in:
Frédéric Guillot 2018-05-19 16:40:24 -07:00
parent ff8e0c6b3d
commit f19ab21b7d
4 changed files with 36 additions and 19 deletions

View file

@ -50,7 +50,7 @@ func Run(cfg *config.Config, store *storage.Storage) {
cfg.BatchSize(),
)
scheduler.NewSessionScheduler(store, cfg.SessionCleanupFrequency())
scheduler.NewCleanupScheduler(store, cfg.CleanupFrequency())
<-stop
logger.Info("Shutting down the server...")