Skip to content

QueueConfig

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/parser-orchestrator/src/interfaces/config.interface.ts

Queue configuration

Properties

PropertyType
namestring
defaultJobOptions`{
/**
 * Number of retry attempts
 * @default 3
 */
attempts: number;

/**
 * Backoff strategy
 */
backoff: {
  type: 'exponential' | 'fixed';
  delay: number;
};

/**
 * Remove job on completion
 */
removeOnComplete: boolean | number;

/**
 * Remove job on failure
 */
removeOnFail: boolean | number;

}` |

Was this page helpful?

Download as PDF