Skip to content

Commit e8656b1

Browse files
Nyholmchalasr
authored andcommitted
[RateLimiter] Allow configuration value "no_limit"
1 parent e8b9e6c commit e8656b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ private function addRateLimiterSection(ArrayNodeDefinition $rootNode)
18461846
->enumNode('strategy')
18471847
->info('The rate limiting algorithm to use for this rate')
18481848
->isRequired()
1849-
->values(['fixed_window', 'token_bucket', 'sliding_window'])
1849+
->values(['fixed_window', 'token_bucket', 'sliding_window', 'no_limit'])
18501850
->end()
18511851
->integerNode('limit')
18521852
->info('The maximum allowed hits in a fixed interval or burst')

0 commit comments

Comments
 (0)