mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
refactor(core): Couple of refactors on WorkflowRunner and ActiveExecutions (no-changelog) (#8487)
This commit is contained in:
committed by
GitHub
parent
dc068ce2e6
commit
c04f92f7fd
@@ -930,11 +930,7 @@ export function setExecutionStatus(status: ExecutionStatus) {
|
||||
return;
|
||||
}
|
||||
logger.debug(`Setting execution status for ${this.executionId} to "${status}"`);
|
||||
Container.get(ActiveExecutions)
|
||||
.setStatus(this.executionId, status)
|
||||
.catch((error) => {
|
||||
logger.debug(`Setting execution status "${status}" failed: ${error.message}`);
|
||||
});
|
||||
Container.get(ActiveExecutions).setStatus(this.executionId, status);
|
||||
}
|
||||
|
||||
export function sendDataToUI(type: string, data: IDataObject | IDataObject[]) {
|
||||
|
||||
Reference in New Issue
Block a user