mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10: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:
committed by
Aaron Schlesinger
parent
b945f8c777
commit
b2b384b43e
+3
-4
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user