Skip to content

basalt / queue/src / MAX_JOB_ATTEMPTS

Variable: MAX_JOB_ATTEMPTS ​

> const MAX_JOB_ATTEMPTS: 50 = 50

Defined in: queue/src/job.ts:32

Ceiling on retries for drivers that enforce one themselves: the RabbitMQ, SQS and Kafka drivers clamp the attempts they read back from a message to this value, and the sync driver (which retries inline) clamps to it too.

Released under the MIT License.