From 16cab7790f1cd7c2998eaf525c76b7717f4ab774 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 26 Nov 2024 16:17:07 -0300 Subject: [PATCH] adding surrogate --- splitio/proxy/controllers/sdk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splitio/proxy/controllers/sdk.go b/splitio/proxy/controllers/sdk.go index 66b9b753..ba542763 100644 --- a/splitio/proxy/controllers/sdk.go +++ b/splitio/proxy/controllers/sdk.go @@ -91,7 +91,7 @@ func (c *SdkServerController) Memberships(ctx *gin.Context) { } ctx.JSON(http.StatusOK, payoad) - ctx.Set(caching.SurrogateContextKey, nil) + ctx.Set(caching.SurrogateContextKey, []string{caching.LargeSegmentSurrogate}) } // SplitChanges Returns a diff containing changes in feature flags from a certain point in time until now.