From cb0d72bdf1a12bbf16b283ca92ab85f1bc9ebe06 Mon Sep 17 00:00:00 2001 From: "Thibault \"bui\" Koechlin" Date: Thu, 4 Jan 2024 15:22:11 +0100 Subject: [PATCH] fix default timeout (#52) --- lib/plugins/crowdsec/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/crowdsec/config.lua b/lib/plugins/crowdsec/config.lua index 98ae404..d030e9e 100644 --- a/lib/plugins/crowdsec/config.lua +++ b/lib/plugins/crowdsec/config.lua @@ -45,8 +45,8 @@ function config.loadConfig(file) local valid_truefalse_values = {'false', 'true'} local default_values = { ['ENABLED'] = "true", - ['REQUEST_TIMEOUT'] = 0.2, - ['STREAM_REQUEST_TIMEOUT'] = 15, + ['REQUEST_TIMEOUT'] = 500, + ['STREAM_REQUEST_TIMEOUT'] = 15000, ['BOUNCING_ON_TYPE'] = "ban", ['MODE'] = "stream", ['UPDATE_FREQUENCY'] = 10,