summaryrefslogtreecommitdiff
path: root/daemon/daemon.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net> 2018-05-19 16:40:24 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net> 2018-05-19 16:45:27 -0700
commitf19ab21b7d7dcddb3de0536c272cb22d581eb8d7 (patch)
tree73eb4ad19fd69aee158be85be60ea6cd9f53135e /daemon/daemon.go
parentff8e0c6b3dca3bf46b0abda284b486467a23dd07 (diff)
downloadv2-f19ab21b7d7dcddb3de0536c272cb22d581eb8d7.tar.gz
v2-f19ab21b7d7dcddb3de0536c272cb22d581eb8d7.tar.zst
v2-f19ab21b7d7dcddb3de0536c272cb22d581eb8d7.zip
Archive read entries automatically after 60 days
Diffstat (limited to 'daemon/daemon.go')
-rw-r--r--daemon/daemon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.go b/daemon/daemon.go
index cf64a1f9..fb759482 100644
--- a/daemon/daemon.go
+++ b/daemon/daemon.go
@@ -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...")