From 8df02daffc56d86f61ed3958776daa133f7a11a9 Mon Sep 17 00:00:00 2001
From: Damian Zaremba <damian@damianzaremba.co.uk>
Date: Sat, 4 Jan 2025 19:26:07 +0000
Subject: [PATCH] processors - reduce to take threads off core

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index cc16e58..8dcdc14 100644
--- a/main.go
+++ b/main.go
@@ -141,7 +141,7 @@ func main() {
 	pflag.BoolVar(&debugMetrics, "debug-metrics", false, "Should we log metrics")
 	pflag.BoolVar(&useIrcRelay, "irc-relay", false, "Should we use enable the IRC relay")
 	pflag.BoolVar(&ignoreReplicationDelay, "no-replication-check", false, "Should we disable the replication monitoring")
-	pflag.IntVar(&processors, "processors", 20, "Number of processors to use")
+	pflag.IntVar(&processors, "processors", 5, "Number of processors to use")
 	pflag.IntVar(&sqlLoaders, "sql-loaders", 20, "Number of SQL loaders to use")
 	pflag.IntVar(&httpLoaders, "http-loaders", 20, "Number of HTTP loaders to use")
 	pflag.Int64Var(&changeId, "process-id", 0, "Process a single ID, rather than feed")