Skip to content

Commit

Permalink
Update Horizon rate limiting documentation (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykarcher authored May 8, 2024
1 parent 8426481 commit 1a1d45e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion network/horizon/api-reference/structure/rate-limiting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: Rate Limiting
sidebar_position: 40
---

Horizon rate limits on a per-IP-address basis. By default, a client is limited to 3600 requests per hour - one request per second on average.
Horizon rate limits on a per-IP-address basis. It can be configured via the option `PER_HOUR_RATE_LIMIT` and defaults to 3600 requests per hour. It is recommended that operators of Horizon tune this value based on their individual infrastructural capabilities and usage needs.

This limit can be disabled entirely by setting the parameter to `0`.

When a client exceeds this limit, Horizon will return a `429 Too Many Requests` error.

Expand Down

0 comments on commit 1a1d45e

Please sign in to comment.