Skip to content

Commit 654369c

Browse files
authored
Update tag_discovery.go
1 parent fc801f2 commit 654369c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend-go/workers/tag_discovery.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ func (w *TagDiscoveryWorker) Run(ctx context.Context) error {
126126
zap.L().Error("Failed to update tag relations", zap.Error(err))
127127
}
128128

129-
// Purge old relation buckets beyond 14 days
130-
if err := w.purgeOldTagRelations(14); err != nil {
129+
// Purge old relation buckets beyond 2 days
130+
if err := w.purgeOldTagRelations(2); err != nil {
131131
zap.L().Error("Failed to purge old tag relations", zap.Error(err))
132132
}
133133

0 commit comments

Comments
 (0)