From 218eed5393b49506c74f30621b5d7689b0a7d972 Mon Sep 17 00:00:00 2001 From: Bruno Moura Date: Fri, 17 Apr 2026 17:37:44 +0100 Subject: [PATCH] llo/datasource: reduce cacheTTLMultiplier factor --- core/services/llo/observation/data_source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/llo/observation/data_source.go b/core/services/llo/observation/data_source.go index d3a8464c80c..bacfffaeb41 100644 --- a/core/services/llo/observation/data_source.go +++ b/core/services/llo/observation/data_source.go @@ -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