mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
* read redis lock options from config to support custom TTL & timeout * fix test * fix typo * downgrade to bsm/redislock@v0.7.2 to prevent usage of beta go-redis version * revert test changes * return error for invalid lock config * update config parsing test * udpate docs to include redis lock config * fix test * set default max retries to 10 * reduce default redis lock timeout to 15s * update default TTL to 15mins Co-authored-by: Manu Gupta <manugupt1@gmail.com>