From 89e8b5631e0f8c59cd863e239f6d07813b688f60 Mon Sep 17 00:00:00 2001 From: Max Lerebourg Date: Sat, 1 Oct 2022 19:12:48 +0200 Subject: [PATCH] :sparkles: fix loop --- bouncer.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bouncer.go b/bouncer.go index 352a466..31aa919 100644 --- a/bouncer.go +++ b/bouncer.go @@ -58,8 +58,8 @@ func CreateConfig() *Config { CrowdsecCapiLogin: "", CrowdsecCapiPwd: "", CrowdsecCapiScenarios: []string{}, - UpdateIntervalSeconds: 10, - DefaultDecisionSeconds: 10, + UpdateIntervalSeconds: 60, + DefaultDecisionSeconds: 60, } } @@ -71,7 +71,6 @@ type Bouncer struct { enabled bool crowdsecStreamHealthy bool - needInit bool crowdsecScheme string crowdsecHost string crowdsecKey string