diff --git a/ops/modules/monorepo-gerrit.nix b/ops/modules/monorepo-gerrit.nix index 84b8ae70b..2bfc512ed 100644 --- a/ops/modules/monorepo-gerrit.nix +++ b/ops/modules/monorepo-gerrit.nix @@ -29,6 +29,7 @@ in "download-commands" "hooks" "replication" + "webhooks" ]; plugins = with gerritPlugins; [ @@ -132,6 +133,14 @@ in disabledBranch = "refs/meta/config"; }; + plugin.webhooks = { + connectionTimeout = 3000; + socketTimeout = 2500; + maxTries = 5; + retryInterval = 5000; + threadPoolSize = 3; + }; + # Allow users to add additional email addresses to their accounts. oauth.allowRegisterNewEmail = true;