diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ea6afe..05009a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [0.33.0](https://github.com/crowdsecurity/php-cs-bouncer/releases/tag/v0.33.0) - 2022-11-10 [_Compare with previous release_](https://github.com/crowdsecurity/php-cs-bouncer/compare/v0.32.0...v0.33.0) +### Changed +- Do not use tags for `memcached` as it is discouraged + ### Fixed -- In stream mode, a clean IP decision (`bypass`) was not cached at all. The decision is now cached for ten years as expected. +- In stream mode, a clean IP decision (`bypass`) was not cached at all. The decision is now cached for ten years as expected --- diff --git a/src/Constants.php b/src/Constants.php index e78fda9..499d808 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -32,7 +32,6 @@ class Constants public const BOUNCING_LEVEL_NORMAL = 'normal_bouncing'; /** @var int The duration we keep a bad IP in cache */ public const CACHE_EXPIRATION_FOR_BAD_IP = 20; - /** @var int The duration we keep a captcha flow in cache */ public const CACHE_EXPIRATION_FOR_CAPTCHA = 86400; /** @var int The duration we keep a clean IP in cache */