Compare commits

...
Author SHA1 Message Date
mhx 375a5f6bb1 🔊 update log level for handle cache fonction to debug only 2026-03-15 18:01:10 +01:00
+2 -2
View File
@@ -655,7 +655,7 @@ func handleStreamCache(bouncer *Bouncer) error {
case "captcha": case "captcha":
value = cache.CaptchaValue value = cache.CaptchaValue
default: default:
bouncer.log.Info("handleStreamCache:unknownType " + decision.Type) bouncer.log.Debug("handleStreamCache:unknownType " + decision.Type)
} }
bouncer.cacheClient.Set(decision.Value, value, int64(duration.Seconds())) bouncer.cacheClient.Set(decision.Value, value, int64(duration.Seconds()))
} }
@@ -663,7 +663,7 @@ func handleStreamCache(bouncer *Bouncer) error {
for _, decision := range stream.Deleted { for _, decision := range stream.Deleted {
bouncer.cacheClient.Delete(decision.Value) bouncer.cacheClient.Delete(decision.Value)
} }
bouncer.log.Info("handleStreamCache:updated") bouncer.log.Debug("handleStreamCache:updated")
return nil return nil
} }