Skip to content

[Backend] — External Result Feed Client Backoff and Circuit Breaker #1620

Description

@Olowodarey

Problem
external-result-feed.client.ts hammers the upstream on failure with no backoff or breaker, risking rate-limit bans.

Requirements

  • Exponential backoff and a circuit breaker that opens after repeated failures.
  • Health signal exposed for monitoring.
  • Tests: breaker opens after threshold; half-open probe recovers.

Acceptance Criteria

  • The result feed client fails gracefully under upstream outages. Covered by tests.

Files

  • backend/src/matches/external-result-feed.client.ts
  • backend/src/matches/matches.module.ts
  • backend/src/health

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions