mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
Clean docker-compose, update function name
This commit is contained in:
+2
-2
@@ -273,7 +273,7 @@ func handleNoStreamCache(a *Bouncer, rw http.ResponseWriter, req *http.Request,
|
||||
setDecision(a, remoteHost, true, int64(duration.Seconds()))
|
||||
}
|
||||
|
||||
func wait_stream() {
|
||||
func waitStream() {
|
||||
logger("Start Wait Stream")
|
||||
sec := rand.Int63n(30)
|
||||
logger(fmt.Sprintf("Sec=%v", sec))
|
||||
@@ -285,7 +285,7 @@ func handleStreamCache(a *Bouncer) {
|
||||
logger(fmt.Sprintf("Start handleStreamCache with health=%v", a.crowdsecStreamHealthy))
|
||||
// TODO clean properly on exit.
|
||||
|
||||
wait_stream()
|
||||
waitStream()
|
||||
// wait random number of sec
|
||||
var rawQuery string
|
||||
var path string
|
||||
|
||||
Reference in New Issue
Block a user