Skip to content

Commit

Permalink
Remove check from #11282
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Oct 28, 2024
1 parent a74fe5a commit 3ffc4b7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/cli/src/workflow-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import type {
IWorkflowExecutionDataProcess,
} from 'n8n-workflow';
import {
ApplicationError,
ErrorReporterProxy as ErrorReporter,
ExecutionCancelledError,
Workflow,
Expand Down Expand Up @@ -381,17 +380,6 @@ export class WorkflowRunner {
let job: Job;
let hooks: WorkflowHooks;
try {
// check to help diagnose PAY-2100
if (
data.executionData?.executionData?.nodeExecutionStack?.length === 0 &&
config.getEnv('deployment.type') === 'internal'
) {
await this.executionRepository.setRunning(executionId); // set `startedAt` so we display it correctly in UI
throw new ApplicationError('Execution to enqueue has empty node execution stack', {
extra: { executionData: data.executionData },
});
}

job = await this.scalingService.addJob(jobData, { priority: realtime ? 50 : 100 });

hooks = WorkflowExecuteAdditionalData.getWorkflowHooksWorkerMain(
Expand Down

0 comments on commit 3ffc4b7

Please sign in to comment.