Skip to content

fix: check Redis connectivity in /health - #253

Merged
meshackyaro merged 2 commits into
trustflow-protocol:mainfrom
christianahtemitope2005:fix/issues-198-208-200-219
Aug 30, 2026
Merged

fix: check Redis connectivity in /health#253
meshackyaro merged 2 commits into
trustflow-protocol:mainfrom
christianahtemitope2005:fix/issues-198-208-200-219

Conversation

@christianahtemitope2005

Copy link
Copy Markdown
Contributor

HealthService now pings the global REDIS_CLIENT and includes a redis entry in the checks map returned by GET /health. Redis backs rate limiting, idempotency keys, and the outbox publisher, so a silent Redis outage previously wouldn't show up on liveness/readiness probes at all. An unconfigured REDIS_URL still reports healthy (matches the existing pattern for the optional Postgres check); once configured, a failed ping now counts toward the overall degraded/down status.

Closes #219
Closes #198
Closes #208
Closes #200

HealthService now pings the global REDIS_CLIENT and includes a 'redis' entry
in checks. An unconfigured REDIS_URL still reports healthy, but once Redis is
configured a failed ping now counts against overall status instead of being
invisible to liveness/readiness probes.

Closes trustflow-protocol#219
Closes trustflow-protocol#198
Closes trustflow-protocol#208
Closes trustflow-protocol#200
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@christianahtemitope2005 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@meshackyaro
meshackyaro merged commit c907fba into trustflow-protocol:main Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants