Move SingleFlight.Redis.Password back under SingleFlight.Redis (#1581)

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
This commit is contained in:
Ted Wexler
2020-03-20 15:32:44 -04:00
committed by GitHub
parent 94a97fe9e9
commit 701bf394a5
+3 -4
View File
@@ -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]