Skip to content

fix(backend,stellar): share circuit-breaker state between DLQ auto-re… - #1197

Open
williamsokperez-arch wants to merge 1 commit into
StellerCraft:mainfrom
williamsokperez-arch:fix/share-circuit-breaker-state-dlq-and-horizon
Open

fix(backend,stellar): share circuit-breaker state between DLQ auto-re…#1197
williamsokperez-arch wants to merge 1 commit into
StellerCraft:mainfrom
williamsokperez-arch:fix/share-circuit-breaker-state-dlq-and-horizon

Conversation

@williamsokperez-arch

Copy link
Copy Markdown
Contributor

…covery and Horizon

Add getParentCircuitState callback to DLQAutoRecovery config to allow querying upstream service circuit breaker health (e.g., Horizon). When a parent breaker is OPEN, DLQ retries for dependent processors are skipped/rescheduled to avoid redundant attempts against a known-down dependency.

This coordination reduces cascading failures and wasted retry budget during Horizon outages, where otherwise the DLQ breaker would only open after its own independent failure threshold is reached.

closes #1150

…covery and Horizon

Add getParentCircuitState callback to DLQAutoRecovery config to allow querying
upstream service circuit breaker health (e.g., Horizon). When a parent breaker
is OPEN, DLQ retries for dependent processors are skipped/rescheduled to avoid
redundant attempts against a known-down dependency.

This coordination reduces cascading failures and wasted retry budget during
Horizon outages, where otherwise the DLQ breaker would only open after its own
independent failure threshold is reached.

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@williamsokperez-arch 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share Circuit-Breaker State Between Webhook DLQ Auto-Recovery and Stellar Horizon Requests

1 participant