From cde8191654affcb9dba35bee0c6146ec5596b0ac Mon Sep 17 00:00:00 2001 From: Jamie Sinn Date: Wed, 14 Aug 2024 15:13:34 -0400 Subject: [PATCH] Queue a config event even if the last modified header is old --- configmanager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/configmanager.go b/configmanager.go index a8633ad2..9d992720 100644 --- a/configmanager.go +++ b/configmanager.go @@ -260,6 +260,7 @@ func (e *EnvironmentConfigManager) fetchConfig(numRetriesRemaining int, minimumL return e.fetchConfig(numRetriesRemaining - 1) } if len(minimumLastModified) > 0 && responseLastModified.Before(minimumLastModified[0]) { + _ = e.eventManager.QueueSDKConfigEvent(*req, *resp) return e.fetchConfig(numRetriesRemaining-1, minimumLastModified...) } }