feat(RabbitMQ Trigger Node): Automatically reconnect on disconnect (#4019)

* feat(RabbitMQ Trigger Node): Automatically reconnect on disconnect

*  Retry indefinetly

*  Also automatically retry activation issues on startup
This commit is contained in:
Jan Oberhauser
2022-09-29 11:50:18 +02:00
committed by GitHub
parent de4dd53a53
commit 23bd71b82a
6 changed files with 145 additions and 12 deletions

View File

@@ -92,6 +92,9 @@ export class Start extends Command {
getLogger().info('\nStopping n8n...');
try {
// Stop with trying to activate workflows that could not be activated
activeWorkflowRunner?.removeAllQueuedWorkflowActivations();
const externalHooks = ExternalHooks();
await externalHooks.run('n8n.stop', []);