1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/util
Shubhra Deshpande fb9bedc91c fix: Added lazy initialization for redis to retry the connection after pod restart automatically connect when available (PROJQUAY-9791) (#4538)
* Fix: Add lazy Redis connection with retry logic for pull metrics

- Implement lazy initialization to prevent startup failures when Redis unavailable
- Add retry logic (3 attempts, 1s delay) for automatic reconnection
- Add health checks before each Redis operation
- Improve error logging from DEBUG to WARNING level
- Fix silent failures after pod restart when Redis not immediately available

This fixes the issue where pull statistics tracking was permanently broken
after registry component restart if Redis wasn't available at startup.

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-11-18 06:15:37 +00:00
..
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2019-12-02 12:23:08 -05:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-03-11 13:54:08 -04:00
2019-12-02 12:23:08 -05:00