From 662fd1feb9f5060565d9700d808fc0a2722bac51 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 24 Nov 2020 08:32:53 -0800 Subject: [PATCH] Increase gerrit sendemail thread pool size We're seeing a growing backlog of email events that all must funnel through the single thread allocated to sending email. We think this may be related to server slowness that we are observing. Bump the number of threads to 4 to see if that flushes the queues quicker and gives us a more responsive server. Change-Id: I730c8f657191cedb46f81f4abc0e1796ef847b27 --- playbooks/roles/gerrit/templates/gerrit.config | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/gerrit/templates/gerrit.config b/playbooks/roles/gerrit/templates/gerrit.config index 8452c519a2..acdb33aff5 100644 --- a/playbooks/roles/gerrit/templates/gerrit.config +++ b/playbooks/roles/gerrit/templates/gerrit.config @@ -20,6 +20,7 @@ smtpServer = localhost from = MIXED includeDiff = false + threadPoolSize = 4 [container] user = gerrit2 startupTimeout = 300