diff options
author | 2018-05-19 16:40:24 -0700 | |
---|---|---|
committer | 2018-05-19 16:45:27 -0700 | |
commit | f19ab21b7d7dcddb3de0536c272cb22d581eb8d7 (patch) | |
tree | 73eb4ad19fd69aee158be85be60ea6cd9f53135e /daemon/daemon.go | |
parent | ff8e0c6b3dca3bf46b0abda284b486467a23dd07 (diff) | |
download | v2-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.go | 2 |
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...") |