We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f99c1 commit fe53befCopy full SHA for fe53bef
src/Configuration.php
@@ -69,10 +69,10 @@ public function getConfigTreeBuilder(): TreeBuilder
69
->scalarNode('redis_dsn')->end()
70
->scalarNode('memcached_dsn')->end()
71
->integerNode('clean_ip_cache_duration')
72
- ->defaultValue(Constants::CACHE_EXPIRATION_FOR_CLEAN_IP)
+ ->min(1)->defaultValue(Constants::CACHE_EXPIRATION_FOR_CLEAN_IP)
73
->end()
74
->integerNode('bad_ip_cache_duration')
75
- ->defaultValue(Constants::CACHE_EXPIRATION_FOR_BAD_IP)
+ ->min(1)->defaultValue(Constants::CACHE_EXPIRATION_FOR_BAD_IP)
76
77
// Geolocation
78
->arrayNode('geolocation')
0 commit comments