Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache')
-rw-r--r--internal/cache/walker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cache/walker.go b/internal/cache/walker.go
index bfd5fba01..25403ad08 100644
--- a/internal/cache/walker.go
+++ b/internal/cache/walker.go
@@ -98,7 +98,7 @@ func (c *DiskCache) walkLoop(walkPath string) {
logger.Infof("Starting file walker for %s", walkPath)
walkTick := time.NewTicker(cleanWalkFrequency)
- dontpanic.GoForever(time.Minute, func() {
+ dontpanic.NewForever(time.Minute).Go(func() {
if err := c.cleanWalk(walkPath); err != nil {
logger.Error(err)
}