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
Add an optional, configurable limit per user on the number of unfinished tasks (and/or stored tasks), so that a single user can't occupy the backends, the Celery workers or the database storage of a deployment.
Requirements
Opt-in: the limit is a configuration option and is off by default. Deployments have different needs: many need all tasks kept for accounting and audits, so a default limit on stored tasks would break them.
When the limit is reached, new tasks are rejected with a clear error (e.g., 429 Too Many Requests or 409 Conflict, to be decided) that names the limit.
Unfinished and stored tasks can be limited separately. Admins may be exempt (configurable).
Documented in docs/configuration.md, with the trade-offs.
Follow-up of the pre-release review of v0.3.0 (finding 6). Planned after the release.
Activity