️ Close RabbitMQ connections left open after use (#1594)

This commit is contained in:
Allan Daemon
2021-04-13 13:27:25 -03:00
committed by GitHub
parent 8ed1099795
commit f4916c7efb
2 changed files with 4 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ export class RabbitMQTrigger implements INodeType {
// the workflow gets deactivated and can so clean up.
async function closeFunction() {
await channel.close();
await channel.connection.close();
}
// The "manualTriggerFunction" function gets called by n8n