mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
fix(storage.md): correct redis endpoint format (#2082)
## Fix Redis URL typo in documentation Removed duplicate port number in Redis configuration example.
This commit is contained in:
@@ -455,7 +455,7 @@ supported:
|
|||||||
# Endpoint is the redis endpoint for the single flight mechanism
|
# Endpoint is the redis endpoint for the single flight mechanism
|
||||||
# Env override: ATHENS_REDIS_ENDPOINT
|
# Env override: ATHENS_REDIS_ENDPOINT
|
||||||
# Note, if TLS is required use rediss:// instead.
|
# Note, if TLS is required use rediss:// instead.
|
||||||
Endpoint = "redis://user:password@127.0.0.1:6379:6379/0?protocol=3"
|
Endpoint = "redis://user:password@127.0.0.1:6379/0?protocol=3"
|
||||||
|
|
||||||
If the redis url is invalid or cannot be parsed, Athens will fall back to treating `Endpoint` as if it were
|
If the redis url is invalid or cannot be parsed, Athens will fall back to treating `Endpoint` as if it were
|
||||||
a normal `host:port` pair. If a password is supplied in the redis url, in addition to being provided in the `Password`
|
a normal `host:port` pair. If a password is supplied in the redis url, in addition to being provided in the `Password`
|
||||||
|
|||||||
Reference in New Issue
Block a user