web / lib/jobs/handlers/process-pending-retries-job
lib/jobs/handlers/process-pending-retries-job
Scheduled job for processing pending retry attempts on failed imports.
This job runs periodically to check for failed import jobs that are scheduled for automatic retry and processes them using the ErrorRecoveryService. It handles retry scheduling based on error classification and exponential backoff.
Variables
processPendingRetriesJob
constprocessPendingRetriesJob:object
Type declaration
slug
slug:
string="process-pending-retries"
schedule
schedule:
object[]
handler()
handler: (
__namedParameters) =>Promise<{output: {success:boolean; }; }>
Parameters
__namedParameters
JobHandlerContext<object>
Returns
Promise<{ output: { success: boolean; }; }>
Last updated on