From 1b06f07ce896d0f0bef3809eba7eb754eeaa4803 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 | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/misc/packaging/common/config.yml b/misc/packaging/common/config.yml index 4fe5b8e..e040818 100644 --- a/misc/packaging/common/config.yml +++ b/misc/packaging/common/config.yml @@ -65,7 +65,33 @@ proxy: # de publication # Mettre à null pour désactiver l'authentification basicAuth: - prom: etheus + credentials: + 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 #