Merged
S
Change Breakdown
Feature100%
Concurrency limits gain configurable burst factors

A new admin API endpoint allows burst factors to be adjusted for specific environments, providing finer control over concurrency limits.
Custom burst factors can now be set for any specific environment using a new API endpoint. This provides granular control over queue processing, allowing environments to handle sudden spikes in workload by bursting above standard concurrency limits. The change is implemented in the webapp's admin API routes.
View Original GitHub Description
Example cURL call using an admin user PAT (replace with a real one):
curl -X PUT https://cloud.trigger.dev/admin/api/v1/environments/<environmentId>/burst-factor \
-H "Authorization: Bearer tr_pat_1234" \
-H "Content-Type: application/json" \
-d '{"burstFactor": 1.5}'