mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
refactor(core): Include execution progress in save settings (no-changelog) (#7769)
This commit is contained in:
@@ -358,18 +358,9 @@ export function hookFunctionsPreExecute(parentProcessMode?: string): IWorkflowEx
|
||||
data: ITaskData,
|
||||
executionData: IRunExecutionData,
|
||||
): Promise<void> {
|
||||
const saveExecutionProgress = config.getEnv('executions.saveExecutionProgress');
|
||||
const workflowSettings = this.workflowData.settings;
|
||||
if (workflowSettings !== undefined) {
|
||||
if (workflowSettings.saveExecutionProgress === false) {
|
||||
return;
|
||||
}
|
||||
if (workflowSettings.saveExecutionProgress !== true && !saveExecutionProgress) {
|
||||
return;
|
||||
}
|
||||
} else if (!saveExecutionProgress) {
|
||||
return;
|
||||
}
|
||||
const saveSettings = toSaveSettings(this.workflowData.settings);
|
||||
|
||||
if (!saveSettings.progress) return;
|
||||
|
||||
try {
|
||||
logger.debug(
|
||||
|
||||
Reference in New Issue
Block a user