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 Aaron Schlesinger
parent b945f8c777
commit b2b384b43e
+3 -4
View File
@@ -294,6 +294,9 @@ SingleFlightType = "memory"
# TODO(marwan): enable multiple endpoints for redis clusters. # TODO(marwan): enable multiple endpoints for redis clusters.
# Env override: ATHENS_REDIS_ENDPOINT # Env override: ATHENS_REDIS_ENDPOINT
Endpoint = "127.0.0.1:6379" Endpoint = "127.0.0.1:6379"
# Password is the password for a redis SingleFlight lock.
# Env override: ATHENS_REDIS_PASSWORD
Password = ""
[SingleFlight.RedisSentinel] [SingleFlight.RedisSentinel]
# Endpoints is the redis sentinel endpoints to discover a redis # Endpoints is the redis sentinel endpoints to discover a redis
# master for a SingleFlight lock. # master for a SingleFlight lock.
@@ -306,10 +309,6 @@ SingleFlightType = "memory"
# redis sentinel # redis sentinel
SentinelPassword = "sekret" SentinelPassword = "sekret"
# Password is the password for a redis SingleFlight lock.
# Env override: ATHENS_REDIS_PASSWORD
Password = ""
[Storage] [Storage]
# Only storage backends that are specified in Proxy.StorageType are required here # Only storage backends that are specified in Proxy.StorageType are required here
[Storage.CDN] [Storage.CDN]