In the stellar documentation https://www.stellar.org/developers/horizon/reference/rate-limiting.html it is said that rate limit is 3600 per hour. But when i check via curl i get 101 which is too low for 1 hour. So did Stellar's public Horizon Server Changes its rate limit?
X-Ratelimit-Limit: 101 X-Ratelimit-Remaining: 100 X-Ratelimit-Reset: 1
The 1st parameter is the total number of requests in a specific period of time (specified with the 3rd parameter). 2nd one is derived from the 1st one. 3rd is the length of period, in seconds.
Here, it means:
maximum 101 requests in a period of 1 second
and there are 100 requests remaining in this 1-second-period.
I guess the documentation will be updated later.
FYI, the older config was like:
X-Ratelimit-Limit: 3600 X-Ratelimit-Remaining: 3599 X-Ratelimit-Reset: 3599
You can disable
PER_HOUR_RATE_LIMIT in after horizon 0.15.0.
PER_HOUR_RATE_LIMIT="0" in horizon.env mean disable x-limit*