mirror of
https://github.com/distribution/distribution.git
synced 2025-09-02 07:25:25 +00:00
Replace custom Redis config struct with go-redis UniversalOptions
Huge help from @milosgajdos who figured out how to do the entire marshalling/unmarshalling for the configs Signed-off-by: Anders Ingemann <aim@orbit.online>
This commit is contained in:
@@ -17,15 +17,14 @@ log:
|
||||
formatter: text
|
||||
level: debug
|
||||
redis:
|
||||
addr: redis:6379
|
||||
addrs: [redis:6379]
|
||||
db: 0
|
||||
dialtimeout: 5s
|
||||
readtimeout: 10ms
|
||||
writetimeout: 10ms
|
||||
pool:
|
||||
idletimeout: 60s
|
||||
maxactive: 64
|
||||
maxidle: 16
|
||||
maxidleconns: 16
|
||||
poolsize: 64
|
||||
connmaxidletime: 300s
|
||||
storage:
|
||||
redirect:
|
||||
disable: true
|
||||
|
Reference in New Issue
Block a user