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:
parent
ff8e0c6b3d
commit
f19ab21b7d
4 changed files with 36 additions and 19 deletions
|
@ -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...")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue