Skip to content

Commit

Permalink
Update src/DependencyInjection/Configuration.php
Browse files Browse the repository at this point in the history
Co-authored-by: David Buchmann <[email protected]>
  • Loading branch information
Big-Shark and dbu authored Jun 17, 2024
1 parent 821ebbf commit a777a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ private function addSharedPluginNodes(ArrayNodeDefinition $pluginNode, $disableA
->addDefaultsIfNotSet()
->children()
->scalarNode('name')->isRequired()->info('Rate limiter configuration name from rate_limiter.yaml')->end()
->scalarNode('key')->defaultNull()->info('A unique key for using one rate limiter name for different clients')->end()
->scalarNode('key')->defaultNull()->info('Key to avoid sharing this rate limiter with other clients or other services. You can use the name of the client for example.')->end()
->integerNode('tokens')->defaultValue(1)->info('How many tokens spending per request')->end()
->floatNode('max_time')->defaultNull()->info('Maximum accepted waiting time in seconds')->end()
->end()
Expand Down

0 comments on commit a777a17

Please sign in to comment.