From 0b360df9dd8b1698d27fa3f18f5064432973cf92 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 8 May 2025 13:44:51 -0400 Subject: [PATCH] inverts the previous configuration to allow for more subs and less reqs --- src/apps/relay/golpe.yaml | 4 ++-- strfry.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/relay/golpe.yaml b/src/apps/relay/golpe.yaml index a845a1e6..1f56d334 100644 --- a/src/apps/relay/golpe.yaml +++ b/src/apps/relay/golpe.yaml @@ -40,7 +40,7 @@ config: noReload: true - name: relay__maxReqFilterSize desc: "Maximum number of filters allowed in a REQ" - default: 200 + default: 20 - name: relay__autoPingSeconds desc: "Websocket-level PING message frequency (should be less than any reverse proxy idle timeouts)" default: 55 @@ -56,7 +56,7 @@ config: default: 500 - name: relay__maxSubsPerConnection desc: "Maximum number of subscriptions (concurrent REQs) a connection can have open at any time" - default: 20 + default: 200 - name: relay__writePolicy__plugin desc: "If non-empty, path to an executable script that implements the writePolicy plugin logic" diff --git a/strfry.conf b/strfry.conf index 7c07c67c..28d129e0 100644 --- a/strfry.conf +++ b/strfry.conf @@ -76,7 +76,7 @@ relay { maxWebsocketPayloadSize = 131072 # Maximum number of filters allowed in a REQ - maxReqFilterSize = 200 + maxReqFilterSize = 20 # Websocket-level PING message frequency (should be less than any reverse proxy idle timeouts) (restart required) autoPingSeconds = 55 @@ -91,7 +91,7 @@ relay { maxFilterLimit = 500 # Maximum number of subscriptions (concurrent REQs) a connection can have open at any time - maxSubsPerConnection = 20 + maxSubsPerConnection = 200 writePolicy { # If non-empty, path to an executable script that implements the writePolicy plugin logic