mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
feat(core): Parent workflows should wait for sub-workflows to finish (#11985)
This commit is contained in:
committed by
GitHub
parent
956b11a560
commit
60b3dccf93
@@ -12,7 +12,7 @@ import {
|
||||
NodeConnectionType,
|
||||
NodeOperationError,
|
||||
SEND_AND_WAIT_OPERATION,
|
||||
WAIT_TIME_UNLIMITED,
|
||||
WAIT_INDEFINITELY,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import type { IEmail } from '../../../../utils/sendAndWait/interfaces';
|
||||
@@ -270,7 +270,7 @@ export class GmailV2 implements INodeType {
|
||||
raw: await encodeEmail(email),
|
||||
});
|
||||
|
||||
await this.putExecutionToWait(new Date(WAIT_TIME_UNLIMITED));
|
||||
await this.putExecutionToWait(WAIT_INDEFINITELY);
|
||||
return [this.getInputData()];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user