A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
perf(rexctl): give the gateway a larger memory share
Hampus08e23abfc9e5
diff --git a/fluxer_rexctl/internal/stack/sizing.go b/fluxer_rexctl/internal/stack/sizing.goindex 121c8be23..e31d0d644 100644--- a/fluxer_rexctl/internal/stack/sizing.go+++ b/fluxer_rexctl/internal/stack/sizing.go@@ -93,9 +93,9 @@ func Sizing(hw Hardware, memory bool, fixed map[string]string) map[string]stringout[k] = strconv.Itoa(limit*2/5) + "mb"}- reserve("FLUXER_API_MEMORY_RESERVATION", share("FLUXER_API_MEMORY_LIMIT", 20, 768, 2560))- reserve("FLUXER_WORKER_MEMORY_RESERVATION", share("FLUXER_WORKER_MEMORY_LIMIT", 17, 640, 2560))- reserve("FLUXER_GATEWAY_MEMORY_RESERVATION", share("FLUXER_GATEWAY_MEMORY_LIMIT", 12, 384, 4096))+ reserve("FLUXER_API_MEMORY_RESERVATION", share("FLUXER_API_MEMORY_LIMIT", 14, 512, 2560))+ reserve("FLUXER_WORKER_MEMORY_RESERVATION", share("FLUXER_WORKER_MEMORY_LIMIT", 12, 448, 2560))+ reserve("FLUXER_GATEWAY_MEMORY_RESERVATION", share("FLUXER_GATEWAY_MEMORY_LIMIT", 22, 512, 4096))share("FLUXER_CADDY_MEMORY_LIMIT", 4, 256, 1024)if hw.MemoryBytes < smallHostBytes {out["FLUXER_EDGE_PROTOCOLS"] = "h1 h2"