summaryrefslogtreecommitdiff
path: root/internal/timeline/manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/timeline/manager.go')
-rw-r--r--internal/timeline/manager.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/timeline/manager.go b/internal/timeline/manager.go
index 23b769c62..df0323cdb 100644
--- a/internal/timeline/manager.go
+++ b/internal/timeline/manager.go
@@ -119,6 +119,7 @@ func (m *manager) Start() error {
// hasn't been accessed in the last hour.
go func() {
for now := range time.NewTicker(1 * time.Hour).C {
+ now := now // rescope
// Define the range function inside here,
// so that we can use the 'now' returned
// by the ticker, instead of having to call