Add variable to not block if redis is unreachable (#214)

*  Add variable to not block if redis is unreachable

* 🚨 fix lint

* 📝 Update README.md
This commit is contained in:
maxlerebourg
2025-02-10 20:10:29 +01:00
committed by GitHub
parent c34d7f4617
commit 4708d76854
4 changed files with 22 additions and 2 deletions
+5
View File
@@ -411,6 +411,10 @@ Only one instance of the plugin is *possible*.
- string
- default: ""
- Database selection for the Redis service
- RedisUnreachableBlock
- bool
- default: true
- Block request when Redis is unreachable (if Redis is unreachable, 1-second delay is added to each request)
- HTTPTimeoutSeconds
- int64
- default: 10
@@ -535,6 +539,7 @@ http:
redisCacheHost: "redis:6379"
redisCachePassword: password
redisCacheDatabase: "5"
redisCacheUnreachableBlock: true
crowdsecLapiTLSCertificateAuthority: |-
-----BEGIN CERTIFICATE-----
MIIEBzCCAu+gAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgZQxCzAJBgNVBAYTAlVT