From 701bf394a5ded3e7b73b3dd97011b9bef755bdd3 Mon Sep 17 00:00:00 2001 From: Ted Wexler Date: Fri, 20 Mar 2020 15:32:44 -0400 Subject: [PATCH] Move SingleFlight.Redis.Password back under SingleFlight.Redis (#1581) Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com> --- config.dev.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config.dev.toml b/config.dev.toml index decda6c8..bfe33510 100755 --- a/config.dev.toml +++ b/config.dev.toml @@ -294,6 +294,9 @@ SingleFlightType = "memory" # TODO(marwan): enable multiple endpoints for redis clusters. # Env override: ATHENS_REDIS_ENDPOINT Endpoint = "127.0.0.1:6379" + # Password is the password for a redis SingleFlight lock. + # Env override: ATHENS_REDIS_PASSWORD + Password = "" [SingleFlight.RedisSentinel] # Endpoints is the redis sentinel endpoints to discover a redis # master for a SingleFlight lock. @@ -306,10 +309,6 @@ SingleFlightType = "memory" # redis sentinel SentinelPassword = "sekret" - # Password is the password for a redis SingleFlight lock. - # Env override: ATHENS_REDIS_PASSWORD - Password = "" - [Storage] # Only storage backends that are specified in Proxy.StorageType are required here [Storage.CDN]