We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.6.0
@marcelosalloum was streaming historical data using /transactions endpoint. Request rate was under allowed quota.
/transactions
200 OK responses only.
200 OK
Some 429 Too Many Requests responses.
429 Too Many Requests
After debugging the issue it seems that rate limiting is broken when streaming. Users pay 1 point per DB access while streaming:
go/services/horizon/internal/handler.go
Lines 78 to 100 in 3284133
go/services/horizon/internal/middleware.go
Lines 202 to 207 in 3284133
The text was updated successfully, but these errors were encountered:
tamirms
Successfully merging a pull request may close this issue.
What version are you using?
1.6.0
What did you do?
@marcelosalloum was streaming historical data using
/transactions
endpoint. Request rate was under allowed quota.What did you expect to see?
200 OK
responses only.What did you see instead?
Some
429 Too Many Requests
responses.After debugging the issue it seems that rate limiting is broken when streaming. Users pay 1 point per DB access while streaming:
go/services/horizon/internal/handler.go
Lines 78 to 100 in 3284133
but also 1 point for HTTP request (via middleware):
go/services/horizon/internal/middleware.go
Lines 202 to 207 in 3284133
This means that when streaming historical data the allowed request quota is actually 2x smaller.
The text was updated successfully, but these errors were encountered: