From b78bcf03812890887b872b8e37d5ad2d2e7ede55 Mon Sep 17 00:00:00 2001 From: William Petit Date: Sat, 1 Jul 2023 13:47:34 -0600 Subject: [PATCH] feat: update packaged configuration --- misc/packaging/common/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/misc/packaging/common/config.yml b/misc/packaging/common/config.yml index 4fe5b8e..e496358 100644 --- a/misc/packaging/common/config.yml +++ b/misc/packaging/common/config.yml @@ -67,6 +67,31 @@ proxy: basicAuth: prom: etheus + # Configuration du transport HTTP(S) + # Voir https://pkg.go.dev/net/http#Transport + transport: + forceAttemptHTTP2: true + maxIdleConns: 100 + maxIdleConnsPerHost: 100 + maxConnsPerHost: 100 + idleConnTimeout: 1m30s + tlsHandshakeTimeout: 10s + expectContinueTimeout: 1s + disableKeepAlives: false + disableCompression: false + responseHeaderTimeout: 10s + writeBufferSize: 4096 + readBufferSize: 4096 + maxResponseHeaderBytes: 0 + + # Configuration des connexions TCP + # Voir https://pkg.go.dev/net#Dialer + dial: + timeout: 30s + keepAlive: 30s + fallbackDelay: 300ms + dualStack: true + # Configuration du client Redis # # Les modes "standalone", "sentinel" et "cluster" de Redis sont supportés: