Skip to content

setup rate limiting#528

Merged
greatest0fallt1me merged 1 commit into
Predictify-org:mainfrom
DokaIzk:fix/rate-limit-api-predictions
Jul 26, 2026
Merged

setup rate limiting#528
greatest0fallt1me merged 1 commit into
Predictify-org:mainfrom
DokaIzk:fix/rate-limit-api-predictions

Conversation

@DokaIzk

@DokaIzk DokaIzk commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

feat: rate limit /api/predictions

Add per-user token-bucket rate limiting on /api/predictions with HTTP 429 status code and Retry-After header. Include access logging middleware import and dedicated unit tests verifying rate-limit enforcement and error envelopes.

Closes #401
Closes #484

@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

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

@greatest0fallt1me
greatest0fallt1me merged commit 503db04 into Predictify-org:main Jul 26, 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

Development

Successfully merging this pull request may close these issues.

Add rate limit on /api/predictions Add rate limit on /api/predictions (v7)

2 participants