rwadurian/backend/mpc-system/services/message-router
hailin b4d6b0f264 feat(mpc-system): add connection retry logic with exponential backoff
- Add retry mechanism for PostgreSQL connections (10 retries, 2s base delay)
- Add retry mechanism for RabbitMQ connections (10 retries, 2s base delay)
- Add retry mechanism for Redis connections (10 retries, 2s base delay)
- Use exponential backoff: delay increases with each retry attempt
- Log detailed retry information (attempt number, max retries, errors)
- Redis continues without cache if all retries fail (non-critical)
- Database and RabbitMQ return error after all retries (critical)

This resolves startup failures when dependent services are slow to initialize,
particularly RabbitMQ which may pass health checks but not be fully ready.
2025-12-04 23:12:15 -08:00
..
adapters feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00
application/use_cases > 2025-11-29 01:35:10 -08:00
cmd/server feat(mpc-system): add connection retry logic with exponential backoff 2025-12-04 23:12:15 -08:00
domain > 2025-11-29 01:35:10 -08:00
Dockerfile refactor: separate configuration from code following 12-Factor App principles 2025-12-04 21:46:35 -08:00