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(core): Do not debounce webhooks, triggers and pollers activation #11306

Merged

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Oct 18, 2024

In multi-main setup, activating a webhook-based workflow on any main sends a message add-webhooks-triggers-and-pollers into the pubsub command channel, so that in response the leader main can activate the webhook.

When normalizing debounce values, #11156 expanded the debounce window on this message by an extra 200ms. This delay has seemingly no effect on normal use, but we believe it is causing our benchmarking setup to fail, so remove the debouncing for this specific message. If this is correct, I'll later add tests to ensure the debounce value for this message does not change.

Context: https://n8nio.slack.com/archives/C03MZF137FV/p1729245210142909?thread_ts=1729231259.216589&cid=C03MZF137FV

Copy link
Collaborator

@tomi tomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link

cypress bot commented Oct 18, 2024

n8n    Run #7425

Run Properties:  status check passed Passed #7425  •  git commit a34b01816a: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project n8n
Run status status check passed Passed #7425
Run duration 04m 20s
Commit git commit a34b01816a: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Committer Iván Ovejero
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 453

Copy link
Contributor

✅ All Cypress E2E specs passed

@ivov ivov merged commit 64bddf8 into master Oct 18, 2024
35 checks passed
@ivov ivov deleted the do-not-debounce-webhooks-triggers-and-pollers-activation branch October 18, 2024 10:24
@github-actions github-actions bot mentioned this pull request Oct 24, 2024
@janober
Copy link
Member

janober commented Oct 24, 2024

Got released with n8n@1.65.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants