WorkerOptions: {
    backoffCoefficient?: number;
    logLevel?: LogLevel;
    maximumAttempts?: number;
    maximumInterval?: string;
}

Type declaration

  • OptionalbackoffCoefficient?: number

    Backoff coefficient for retry logic, default 10 (HMSH_MESHFLOW_EXP_BACKOFF)

  • OptionallogLevel?: LogLevel

    Log level: debug, info, warn, error

  • OptionalmaximumAttempts?: number

    Maximum number of attempts, default 5 (HMSH_MESHFLOW_MAX_ATTEMPTS)

  • OptionalmaximumInterval?: string

    Maximum interval between retries, default 120s (HMSH_MESHFLOW_MAX_INTERVAL)