From 954a858933e5128aac40aff29ea79321853752bb Mon Sep 17 00:00:00 2001 From: Frikky Date: Wed, 10 Sep 2025 01:47:43 +0200 Subject: [PATCH] Made default app replicas 3 instead of 1. --- functions/onprem/worker/worker.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go index 5bd0e533..fc54c0a1 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -3218,10 +3218,8 @@ func deploySwarmService(dockercli *dockerclient.Client, name, image string, depl } // Apps used a lot should have 2 replicas (default) - replicas := uint64(1) - //if (strings.Contains(strings.ToLower(name), "shuffle") && strings.Contains(strings.ToLower(name), "tools")) || strings.Contains(strings.ToLower(name), "http") { - // replicas = 2 - //} + // New default to 3 (as the chance of queues piling up is lower) + replicas := uint64(3) // Sent from Orborus // Should be equal to