From 3d49d64b4d1a5a2ffbf82fbf2b81b44dbe4763a3 Mon Sep 17 00:00:00 2001 From: AdzerKI Date: Thu, 10 Sep 2026 18:47:18 +0300 Subject: [PATCH] use STREAM_REQUEST_TIMEOUT for the stream query --- lib/crowdsec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crowdsec.lua b/lib/crowdsec.lua index 057fb51..1c58eb0 100644 --- a/lib/crowdsec.lua +++ b/lib/crowdsec.lua @@ -449,7 +449,7 @@ function csmod.SetupStream() if runtime.conf["USE_TLS_AUTH"] then err = stream:stream_query_tls( runtime.conf["API_URL"], - runtime.conf["REQUEST_TIMEOUT"], + runtime.conf["STREAM_REQUEST_TIMEOUT"], runtime.userAgent, runtime.conf["SSL_VERIFY"], runtime.conf["TLS_CLIENT_CERT_PARSED"], @@ -461,7 +461,7 @@ function csmod.SetupStream() else err = stream:stream_query_api( runtime.conf["API_URL"], - runtime.conf["REQUEST_TIMEOUT"], + runtime.conf["STREAM_REQUEST_TIMEOUT"], REMEDIATION_API_KEY_HEADER, runtime.conf["API_KEY"], runtime.userAgent,