mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Make placeholders in manual executions in workers temporary (#12463)
This commit is contained in:
@@ -169,8 +169,12 @@ export class Push extends TypedEmitter<PushEvents> {
|
||||
|
||||
this.logger.warn(`Size of "${type}" (${eventMb} MB) exceeds max size ${maxMb} MB. Trimming...`);
|
||||
|
||||
if (type === 'nodeExecuteAfter') pushMsgCopy.data.data.data = TRIMMED_TASK_DATA_CONNECTIONS;
|
||||
else if (type === 'executionFinished') pushMsgCopy.data.rawData = ''; // prompt client to fetch from DB
|
||||
if (type === 'nodeExecuteAfter') {
|
||||
pushMsgCopy.data.itemCount = pushMsgCopy.data.data.data?.main[0]?.length ?? 1;
|
||||
pushMsgCopy.data.data.data = TRIMMED_TASK_DATA_CONNECTIONS;
|
||||
} else if (type === 'executionFinished') {
|
||||
pushMsgCopy.data.rawData = ''; // prompt client to fetch from DB
|
||||
}
|
||||
|
||||
void this.publisher.publishCommand({
|
||||
command: 'relay-execution-lifecycle-event',
|
||||
|
||||
Reference in New Issue
Block a user