perf: Skip browser logging for production tasks in native Python runner (#19028)

This commit is contained in:
Iván Ovejero
2025-09-01 10:55:20 +02:00
committed by GitHub
parent 864b51d135
commit d0ffd6e659
5 changed files with 25 additions and 3 deletions

View File

@@ -38,6 +38,9 @@ export class PythonTaskRunnerSandbox {
nodeName: node.name,
workflowId: workflow.id,
workflowName: workflow.name,
/** Whether this task can log to the browser console. */
canLog: this.executeFunctions.getMode() === 'manual',
};
const executionResult = await this.executeFunctions.startJob<INodeExecutionData[]>(