Labels: queue security redis swagger
Priority: high
Summary
Prevent users from flooding BullMQ with excessive processing requests.
Description
Users should have limits on how many processing jobs they can create within a given period.
Tasks
Define per-user queue limits.
Track job counts using Redis.
Add configurable limits.
Reset counters appropriately.
Reject requests when the limit is reached.
Add tests for rate-limit behavior.
Swagger / API Integration
Document affected endpoints with rate-limit information.
Document 429 Too Many Requests.
Add Retry-After response documentation where applicable.
Add rate-limit error response example.
Acceptance Criteria
Excessive job creation is blocked.
Redis tracks user job limits.
Users receive 429 when limits are exceeded.
Limits are configurable.
Labels: queue security redis swagger
Priority: high
Summary
Prevent users from flooding BullMQ with excessive processing requests.
Description
Users should have limits on how many processing jobs they can create within a given period.
Tasks
Define per-user queue limits.
Track job counts using Redis.
Add configurable limits.
Reset counters appropriately.
Reject requests when the limit is reached.
Add tests for rate-limit behavior.
Swagger / API Integration
Document affected endpoints with rate-limit information.
Document 429 Too Many Requests.
Add Retry-After response documentation where applicable.
Add rate-limit error response example.
Acceptance Criteria
Excessive job creation is blocked.
Redis tracks user job limits.
Users receive 429 when limits are exceeded.
Limits are configurable.