feat(backend): add throtteling by default (#11951)

* feat(backend): add throtteling by default

* add changelog entry

* ignore throtetling in debug mode

* increase threshold
This commit is contained in:
Matthias Mair
2026-08-10 18:41:15 +10:00
committed by GitHub
parent 1b20920e4a
commit 324b0ca012
4 changed files with 25 additions and 1 deletions
+2 -1
View File
@@ -139,7 +139,8 @@ Depending on how your InvenTree installation is configured, you will need to pay
| `INVENTREE_X_FORWARDED_PROTO_NAME` | `x_forwarded_proto_name` | `HTTP_X_FORWARDED_PROTO` | Name of the header to use for forwarded protocol information |
{{ configsetting("INVENTREE_SESSION_COOKIE_SECURE") }} Enforce secure session cookies |
{{ configsetting("INVENTREE_COOKIE_SAMESITE") }} Session cookie mode. Must be one of `Strict | Lax | None | False`. Refer to the [mozilla developer docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) and the [django documentation]({% include "django.html" %}/ref/settings/#std-setting-SESSION_COOKIE_SAMESITE) for more information. |
{{ configsetting("INVENTREE_THROTTLE_ANON") }} Throttle rate for anonymous users (e.g. '20/minute') |
{{ configsetting("INVENTREE_THROTTLE_USER") }} Throttle rate for authenticated users (e.g. '5/second') |
### Debug Mode