diff options
Diffstat (limited to 'internal/streamcache/filestore.go')
-rw-r--r-- | internal/streamcache/filestore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/streamcache/filestore.go b/internal/streamcache/filestore.go index 67337c95f..c3d4d99cd 100644 --- a/internal/streamcache/filestore.go +++ b/internal/streamcache/filestore.go @@ -65,7 +65,7 @@ func newFilestore(dir string, maxAge time.Duration, sleep func(time.Duration), l stop: make(chan struct{}), } - dontpanic.GoForever(1*time.Minute, func() { + dontpanic.NewForever(time.Minute).Go(func() { sleepLoop(fs.stop, fs.maxAge, sleep, func() { diskUsageGauge.WithLabelValues(fs.dir).Set(fs.diskUsage()) |