Skip to content

Commit

Permalink
Tighten task rate limit on the backend (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
olliestanley committed Feb 19, 2023
1 parent 623da25 commit cdea29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/oasst_backend/config.py
Expand Up @@ -251,7 +251,7 @@ def validate_user_stats_intervals(cls, v: int):

CACHED_STATS_UPDATE_INTERVAL: int = 60 # minutes

RATE_LIMIT_TASK_USER_TIMES: int = 60
RATE_LIMIT_TASK_USER_TIMES: int = 30
RATE_LIMIT_TASK_USER_MINUTES: int = 5
RATE_LIMIT_TASK_API_TIMES: int = 10_000
RATE_LIMIT_TASK_API_MINUTES: int = 1
Expand Down

0 comments on commit cdea29e

Please sign in to comment.