mirror of
https://github.com/quay/quay.git
synced 2026-01-27 18:42:52 +03:00
By default, Redlock creates a new client per instance. Using the provided factory allows Redlock to reuse a single connection per instance and avoid running out of connections. e.g When a worker tries to get a lock, it should not open new connections every time. Increase sleep duration between queue polls on WorkerSleepException. This will give more time before retrying after failing to acquire a lock.