n8n
Version:
n8n Workflow Automation Tool
22 lines (21 loc) • 1.14 kB
TypeScript
import { Logger } from '@n8n/backend-common';
import { ExecutionsConfig } from '@n8n/config';
import { ExecutionRepository } from '@n8n/db';
import { ErrorReporter } from 'n8n-core';
import { EventService } from '../events/event.service';
import { ExecutionService } from '../executions/execution.service';
import { OwnershipService } from '../services/ownership.service';
import { WorkflowRunner } from '../workflow-runner';
export declare class EnqueuedExecutionRecoveryService {
private readonly logger;
private readonly errorReporter;
private readonly executionsConfig;
private readonly executionService;
private readonly executionRepository;
private readonly ownershipService;
private readonly workflowRunner;
private readonly eventService;
constructor(logger: Logger, errorReporter: ErrorReporter, executionsConfig: ExecutionsConfig, executionService: ExecutionService, executionRepository: ExecutionRepository, ownershipService: OwnershipService, workflowRunner: WorkflowRunner, eventService: EventService);
recoverEnqueuedExecutions(): Promise<void>;
private crashUnstartableExecution;
}