Set maximum depth for chained queueable jobs

Impact area

Scalability

Severity

Medium

Affected element

Salesforce

Apex Class

Rule ID

SF-AVOID-QUEUEABLE-JOB-WITHOUT-DEPTH

Impact

Queued jobs without maximum depth can launch recursive jobs that may consume the daily async Apex limit.

Remediation

Limit the number of retry attempts


Time to fix

15 min

What's here


Related content

Apex Page rules

Salesforce rules




Last modified on Jan 18, 2024