Rate Limiting on V3

We currently support setting a concurrencyLimit on a task, or on a queue that you create. This can also be used with a concurrencyKey to have per-user queues: https://trigger.dev/docs/queue-concurrency

Sometimes instead of concurrency you want to limit using a rate. For example, 10/minute, 1/second.

This is especially useful when using APIs that have rate limits.

We should support this with a per-tenant key like we do for concurrency.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

2 months ago

Author

An Anonymous User

Subscribe to post

Get notified by email when there are changes.