mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
* 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. * fixing tests * fixing tests --------- Co-authored-by: shudeshp <shudeshp@redhat.com> Co-authored-by: Shubhra Deshpande <shubhrajayant+github@gmail.com> Co-authored-by: Brandon Caton <bcaton@redhat.com>