From fb9741f7e0f4362cf316bf859cccf1754262d263 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 8 Jul 2021 23:56:03 -0400 Subject: [PATCH] make sure consumers always have plenty of work to do --- cmd/apollo-worker-notifications/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/apollo-worker-notifications/main.go b/cmd/apollo-worker-notifications/main.go index da81417..aab4550 100644 --- a/cmd/apollo-worker-notifications/main.go +++ b/cmd/apollo-worker-notifications/main.go @@ -126,7 +126,7 @@ func main() { } numConsumers := runtime.NumCPU() * 12 - prefetchLimit := int64(numConsumers * 2) + prefetchLimit := int64(numConsumers * 32) runtime.GOMAXPROCS(numConsumers)