From b825bc61f74eb5d90e63999a319b9fd4fa8d43cb Mon Sep 17 00:00:00 2001 From: ameersohel45 Date: Thu, 25 Sep 2025 18:26:12 +0530 Subject: [PATCH] Issue 523 - config: add HTTP client performance tuning to all adapter configurations --- config/local-dev.yaml | 20 ++++++++++++++++++++ config/local-simple.yaml | 20 ++++++++++++++++++++ config/onix-bap/adapter.yaml | 10 ++++++++++ config/onix-bpp/adapter.yaml | 10 ++++++++++ 4 files changed, 60 insertions(+) diff --git a/config/local-dev.yaml b/config/local-dev.yaml index abe11f8..b645350 100644 --- a/config/local-dev.yaml +++ b/config/local-dev.yaml @@ -22,6 +22,11 @@ modules: handler: type: std role: bap + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -65,6 +70,11 @@ modules: handler: type: std role: bap + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -104,6 +114,11 @@ modules: handler: type: std role: bpp + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -143,6 +158,11 @@ modules: handler: type: std role: bpp + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry diff --git a/config/local-simple.yaml b/config/local-simple.yaml index e4a29f2..df903ce 100644 --- a/config/local-simple.yaml +++ b/config/local-simple.yaml @@ -22,6 +22,11 @@ modules: handler: type: std role: bap + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -67,6 +72,11 @@ modules: handler: type: std role: bap + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -108,6 +118,11 @@ modules: handler: type: std role: bpp + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -147,6 +162,11 @@ modules: handler: type: std role: bpp + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry diff --git a/config/onix-bap/adapter.yaml b/config/onix-bap/adapter.yaml index 598fc9b..d5f437c 100644 --- a/config/onix-bap/adapter.yaml +++ b/config/onix-bap/adapter.yaml @@ -23,6 +23,11 @@ modules: handler: type: std role: bap + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -68,6 +73,11 @@ modules: handler: type: std role: bap + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry diff --git a/config/onix-bpp/adapter.yaml b/config/onix-bpp/adapter.yaml index 6036752..1ca4064 100644 --- a/config/onix-bpp/adapter.yaml +++ b/config/onix-bpp/adapter.yaml @@ -24,6 +24,11 @@ modules: type: std role: bpp subscriberId: bpp1 + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry @@ -69,6 +74,11 @@ modules: handler: type: std role: bpp + httpClientConfig: + maxIdleConns: 1000 + maxIdleConnsPerHost: 200 + idleConnTimeout: 300s + responseHeaderTimeout: 5s plugins: registry: id: registry