Reset the concurrency limit of a queue back to its base value defined in code.
Use your project-specific Secret API key. Will start with tr_dev_, tr_prod, tr_stg, etc.
You can find your Secret API key in the API Keys section of your Trigger.dev project dashboard.
Our TypeScript SDK will default to using the value of the TRIGGER_SECRET_KEY environment variable if it is set. If you are using the SDK in a different environment, you can set the key using the configure function.
import { configure } from "@trigger.dev/sdk";
configure({ accessToken: "tr_dev_1234" });
The queue ID (e.g., queue_1234), or the name of the queue when using the type body parameter.
How to interpret the queueParam path parameter:
id: Treat as a queue ID (default)task: Treat as a task ID to get the task's default queuecustom: Treat as a custom queue nameid, task, custom Concurrency limit reset successfully
The queue ID, e.g., queue_1234
"queue_1234"
The queue name. For task queues, this is the task ID. For custom queues, this is the name you specified.
"my-task-id"
The type of queue:
task: Created automatically for each taskcustom: Created explicitly in your code using queue()task, custom "task"
The number of runs currently executing
5
The number of runs currently queued
10
Whether the queue is paused. When paused, no new runs will start.
false
The current concurrency limit of the queue
10
Detailed concurrency information