mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
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:
+3
-4
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user