aboutsummaryrefslogtreecommitdiffhomepage
path: root/daemon/daemon.go
diff options
context:
space:
mode:
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 cf64a1f..fb75948 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...")