Skip to content

feat: limit tasks per user (opt-in) #285

Closed

Description

@uniqueg

Summary

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

  1. added
    priority: medium
    status: triage
    type: feature
    workload: days
    on Oct 24, 2026
  2. modified the milestones: v1.0.0-rc1, v0.6.0 on Nov 1, 2026
  3. added
    status: in progress
    and removed
    status: triage
    on Nov 7, 2026
  4. removed
    status: in progress
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions