mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(AMQP Trigger Node): Manual execution updated error reduced wait time (#10035)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
This commit is contained in:
parent
c4c25eadfd
commit
f78f4ea349
|
@ -276,11 +276,16 @@ export class AmqpTrigger implements INodeType {
|
||||||
connection.close();
|
connection.close();
|
||||||
|
|
||||||
reject(
|
reject(
|
||||||
new Error(
|
new NodeOperationError(
|
||||||
'Aborted, no message received within 30secs. This 30sec timeout is only set for "manually triggered execution". Active Workflows will listen indefinitely.',
|
this.getNode(),
|
||||||
|
'Aborted because no message received within 15 seconds',
|
||||||
|
{
|
||||||
|
description:
|
||||||
|
'This 15sec timeout is only set for "manually triggered execution". Active Workflows will listen indefinitely.',
|
||||||
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}, 30000);
|
}, 15000);
|
||||||
container.on('message', (context: EventContext) => {
|
container.on('message', (context: EventContext) => {
|
||||||
// Check if the only property present in the message is body
|
// Check if the only property present in the message is body
|
||||||
// in which case we only emit the content of the body property
|
// in which case we only emit the content of the body property
|
||||||
|
|
Loading…
Reference in a new issue