Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions cmd/ff-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ func main() {
})
logger.Info("connecting to redis", "address", redisAddress)
sdkCache = cache.NewRedisCache(client)
err := sdkCache.HealthCheck(ctx)
if err != nil {
logger.Error("failed to connect to redis", "err", err)
os.Exit(1)
}
} else {
logger.Info("initialising default memcache")
sdkCache = cache.NewMemCache()
Expand Down
1 change: 1 addition & 0 deletions docs/redis_cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

You can optionally configure the Relay Proxy to store flag data in redis. See [configuration](./configuration.md) for details on setting this up.

The Relay Proxy does not currently support clustered Redis or Redis Sentinel.


### What happens if network connection is lost?
Expand Down