From 5f5aefaeaa17a87ee8c680f0c7703f6b0c0f81c1 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Mon, 7 Sep 2026 08:58:37 +0200 Subject: [PATCH 1/2] ref(hybridcloud): Register webhook worker threads at the deployed value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The automator has set `hybridcloud.webhookpayload.worker_threads` to 16 for every environment since #928 in March 2024, so the registered 4 has not been the number any deploy runs for over two years. Reading the registration told you the wrong thing, and the value cannot be dropped from the automator while the two disagree — unsetting it would quietly quarter the delivery concurrency. Production is unchanged: the automator value wins and is identical. An environment with no automator entry, self-hosted included, moves from 4 to 16, bounded by the records a claim actually holds and only for skip-on-failure providers; strict providers keep delivering on one thread. --- src/sentry/options/defaults.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sentry/options/defaults.py b/src/sentry/options/defaults.py index c7e04ad50031..0cedc5b8cc07 100644 --- a/src/sentry/options/defaults.py +++ b/src/sentry/options/defaults.py @@ -2614,9 +2614,11 @@ ) # Webhook processing controls +# Most threads a skip-on-failure claim delivers on, bounded by the records it +# claimed. Strict providers deliver on one thread whatever this says. register( "hybridcloud.webhookpayload.worker_threads", - default=4, + default=16, flags=FLAG_AUTOMATOR_MODIFIABLE, ) # Remove the rows a claim-bounded drain finishes with — delivered, attempts From ec6a0116edddf9f01c2a4ebf28f992835c30fd59 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Mon, 7 Sep 2026 09:17:06 +0200 Subject: [PATCH 2/2] ref(hybridcloud): Trim the worker_threads comment The line about strict providers repeated what the skip_on_failure_providers comment two registrations below already says. --- src/sentry/options/defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/options/defaults.py b/src/sentry/options/defaults.py index 0cedc5b8cc07..63f3509f18e2 100644 --- a/src/sentry/options/defaults.py +++ b/src/sentry/options/defaults.py @@ -2615,7 +2615,7 @@ # Webhook processing controls # Most threads a skip-on-failure claim delivers on, bounded by the records it -# claimed. Strict providers deliver on one thread whatever this says. +# claimed. register( "hybridcloud.webhookpayload.worker_threads", default=16,