Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(RabbitMQTrigger Node) Fix message leak #3279

Closed
wants to merge 1 commit into from

Conversation

tinti
Copy link

@tinti tinti commented May 11, 2022

By calling manualTriggerFunction the amqplib may fetch many messages.
Only one of those messages will be displayed at the ui-editor. The rest
will be lost.

This patch makes amqplib fetch only one message at time when running
a manual trigger.

By calling `manualTriggerFunction` the amqplib may fetch many messages.
Only one of those messages will be displayed at the ui-editor. The rest
will be lost.

This patch makes amqplib fetch only one message at time when running
a manual trigger.
@n8n-assistant n8n-assistant bot added community Authored by a community member node/improvement New feature or request labels May 11, 2022
@tinti
Copy link
Author

tinti commented May 26, 2022

Hi @janober

Can you take a look on this one?

Thanks.

@janober
Copy link
Member

janober commented May 30, 2022

Thank you very much for your contribution @tinti! With the changes in #3385, this can now sadly not be merged anymore but your fix got applied and the problem so fixed.

@janober janober closed this May 30, 2022
@tinti tinti deleted the hotfix/rabbitmq_fetch_one branch June 9, 2022 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants