Skip to content

Commit

Permalink
Update pkg/costattribution/manager.go
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Zaytsev <[email protected]>
  • Loading branch information
ying-jeanne and colega authored Dec 27, 2024
1 parent 37901b7 commit f7115f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/costattribution/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ func (m *Manager) purgeInactiveAttributionsUntil(deadline int64) error {
}

if t.recoveredFromOverflow(deadline) {
// We delete the current tracker here,
// this will cause the creation of a new one later.
// ActiveSeries tracker compares the pointer of the tracker,
// and this change will cause a reload there.
m.deleteTracker(userID)
}
}
Expand Down

0 comments on commit f7115f4

Please sign in to comment.