Skip to content

Commit

Permalink
Merge pull request #323 from Big-Shark/feat/add-throttle-config
Browse files Browse the repository at this point in the history
add throttle plugin
  • Loading branch information
dbu authored Jun 17, 2024
2 parents ee0d342 + 23522e7 commit a440713
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions integrations/symfony-bundle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ List of Services
| | ``httplug.plugin.cookie`` | | activated when configured. |
| | ``httplug.plugin.history`` | | These services are private and should only be used to configure |
| | ``httplug.plugin.error`` | | clients or other services. |
| | ``httplug.plugin.throttle`` | | |
+-------------------------------------+-------------------------------------------------------------------------+

\* *These services are always an alias to another service. You can specify your own service or leave the default, which is the same name with `.default` appended.*
Expand Down
5 changes: 5 additions & 0 deletions integrations/symfony-full-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ This page shows an example of all configuration values provided by the bundle.
error:
enabled: false
only_server_exception: false
throttle:
name: default
key: null
tokens: 1
max_time: 1
profiling:
enabled: true # Defaults to kernel.debug
Expand Down

0 comments on commit a440713

Please sign in to comment.