Skip to content

Disable webhook firing if disable in configuration (13) #18383

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

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

AndyButland
Copy link
Contributor

@AndyButland AndyButland commented Feb 19, 2025

Prerequisites

  • I have added steps to test this contribution in the description below

Issue discussed here:
https://umbracare.net/blog/disabling-webhooks-for-maximum-performance-in-umbraco

Description

I saw this blog post go by in Umb-FYI and seemed to me it was providing a workaround that shouldn't be necessary.

So I've disabled the firing of webhooks if webhooks are disabled in configuration, as I believe that should be what is happening.

To Test:

  • Disable webhooks in configuration.
  • Put a breakpoint in the WebhookFiring job and verify that it doesn't run.

@AndyButland AndyButland requested a review from Zeegaan February 19, 2025 10:42
Copy link
Member

@Zeegaan Zeegaan left a comment

Choose a reason for hiding this comment

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

Makes sense to do this 😁

@Zeegaan Zeegaan merged commit 64607dd into v13/dev Feb 19, 2025
20 checks passed
@Zeegaan Zeegaan deleted the v13/bugfix/allow-disable-of-webhook-scheduled-job branch February 19, 2025 11:17
@AndyButland
Copy link
Contributor Author

@piotrbach @wtct - FYI (and thanks for your blog post that passed my way so that we noticed this).

@piotrbach
Copy link

Hi @AndyButland, big thanks for the update! Awesome & glad to hear the blog post was useful🚀
We will keep an eye on the fix/release and adjust the article in future.
Have a great day!
cc: @wtct

@AndyButland AndyButland changed the title Disable webhook firing if disable in configuration. Disable webhook firing if disable in configuration (13) Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants