You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67Lines changed: 67 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,3 +162,70 @@ Basic configuration is taken from `.env` file.
162
162
| BLACKLIST_UPDATE_PERIOD | 15s | Time interval to update blacklist |
163
163
| BLACKLIST_THRESHOLD | 10000 | Amount of requests, which, when achieved, forces IP to get blocked |
164
164
| NOTIFY_URL |https://notify.bot.ifmo.su/u/ABCD1234| Address to send alerts in case of too many requests |
165
+
| TOKEN_UPDATE_PERIOD | 10s | Time interval to update token cache |
166
+
| PROJECTS_LIMITS_UPDATE_PERIOD | 3600 | Time interval to update projects limits cache (in seconds) |
167
+
# Rate Limiting
168
+
169
+
Rate limiting is implemented using Redis to track and enforce request limits per project. The system supports configurable limits at the project, workspace and plan level.
170
+
171
+
## Configuration
172
+
173
+
Rate limits can be configured at multiple levels and applied in the following order (highest to lowest):
0 commit comments