mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
✨ fix loop
This commit is contained in:
+2
-3
@@ -58,8 +58,8 @@ func CreateConfig() *Config {
|
|||||||
CrowdsecCapiLogin: "",
|
CrowdsecCapiLogin: "",
|
||||||
CrowdsecCapiPwd: "",
|
CrowdsecCapiPwd: "",
|
||||||
CrowdsecCapiScenarios: []string{},
|
CrowdsecCapiScenarios: []string{},
|
||||||
UpdateIntervalSeconds: 10,
|
UpdateIntervalSeconds: 60,
|
||||||
DefaultDecisionSeconds: 10,
|
DefaultDecisionSeconds: 60,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,7 +71,6 @@ type Bouncer struct {
|
|||||||
|
|
||||||
enabled bool
|
enabled bool
|
||||||
crowdsecStreamHealthy bool
|
crowdsecStreamHealthy bool
|
||||||
needInit bool
|
|
||||||
crowdsecScheme string
|
crowdsecScheme string
|
||||||
crowdsecHost string
|
crowdsecHost string
|
||||||
crowdsecKey string
|
crowdsecKey string
|
||||||
|
|||||||
Reference in New Issue
Block a user