Skip to content

Commit

Permalink
adding surrogate
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzmauro committed Nov 26, 2024
1 parent 82a7dbb commit 16cab77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splitio/proxy/controllers/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 16cab77

Please sign in to comment.