← back to the release
new featureApex
Avoid Workflow Disruptions by Enabling Elastic Limits for Batch Jobs (Beta)
Elastic limits (beta) now extend to Batch Apex, alongside future methods and Queueable jobs, so an org exceeding its rolling 24-hour asynchronous job limit can keep enqueuing up to a higher elastic limit; past the standard limit the system throttles in-flight Batch job processing and caps new Batch jobs at one active job. A production org's elastic headroom is now capped at its licensed async limit or 2 million jobs, whichever is lower (was 10 million). Turn on 'Use elastic limits for asynchronous Apex jobs (beta)' in Apex Settings and check usage with the OrgLimits class.
identifiers
elastic limitsOrgLimitsBatch ApexApex Settings
metadata types
ApexSettings
flags
off by defaultno action required
- how
- In Apex Settings, enable 'Use elastic limits for asynchronous Apex jobs (beta)'.
- who
- when
- where
- Enterprise, Performance, Unlimited, and Developer editions with the beta setting enabled.