Skip to content

fix: add provider quota tracking to prevent payout retry exhaustion - #1297

Merged
github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
maikNeta:fix/quota-gateway-reliability
Oct 17, 2026
Merged

github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
maikNeta:fix/quota-gateway-reliability

Conversation

@maikNeta

Copy link
Copy Markdown
Contributor

Summary

Implements provider quota tracking to prevent failed payout retries from exhausting provider quotas.

Changes

  • QuotaService: New service for tracking provider request quotas (hourly/daily limits)
  • PayoutReliabilityService Enhancement: Integrated quota checking before payout processing
  • Prevents retry loops from overwhelming providers with excessive requests
  • Supports configurable burst limits and automatic hourly/daily reset

Implementation Details

  • Tracks quota usage per provider (Stripe, Stellar, Solana)
  • Enforces hourly and daily request limits
  • Respects burst limits for retry attempts
  • Pauses payout processing when quota is reached
  • Automatically resets counters on hourly/daily cycles

Closes #1024

@vercel

vercel Bot commented Oct 17, 2026

Copy link
Copy Markdown

@maikNeta is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@maikNeta 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

@github-actions
github-actions Bot merged commit 86ca931 into Smartdevs17:main Oct 17, 2026
15 of 24 checks passed
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.

Fix failed payout retry exhausting provider quota

1 participant