Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/services/llo/observation/data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
// this much time remains before expiry, we skip refresh (good cache utilization).
// - Require staleRefreshRemaining < cacheTTL so there is always a refresh window before expiry; here 1.5·T < 3·T.
const (
cacheTTLMultiplier = 3
cacheTTLMultiplier = 2
staleRefreshRemainingNumerator int64 = 3
staleRefreshRemainingDenominator int64 = 2 // 3/2 · T = 1.5 · T remaining life to still treat as fresh enough to skip

Expand Down
Loading