Skip to content

Commit

Permalink
increase rate limit to 100 req/5 minutes
Browse files Browse the repository at this point in the history
see #4
  • Loading branch information
dealloc committed Mar 3, 2024
1 parent 10ea48a commit 6266987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We provide an OpenApi specification which you can download at [`/api/openapi`](h
We also provide a SwaggerUI view on the above specification [here](https://helldivers-2.fly.dev/api/swaggerui).

### Rate limit
Currently the rate limit is set rather low, at 10 requests/5 minutes.
Currently the rate limit is set at 100 requests/5 minutes.
This limit will probably be increased in the future, but given the limited API endpoints available this should be sufficient.

To avoid hitting rate limits in your clients check the following headers in your response:
Expand Down
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kill_signal = 'SIGTERM'
[env]
PHX_HOST = 'helldivers-2.fly.dev'
PORT = '8080'
RATE_LIMIT_MAX_REQUESTS = "10"
RATE_LIMIT_MAX_REQUESTS = "100"
RATE_LIMIT_INTERVAL = "300"

[http_service]
Expand Down

0 comments on commit 6266987

Please sign in to comment.