Skip to content

Commit a440713

Browse files
authored
Merge pull request #323 from Big-Shark/feat/add-throttle-config
add throttle plugin
2 parents ee0d342 + 23522e7 commit a440713

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

integrations/symfony-bundle.rst

+1
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ List of Services
505505
| | ``httplug.plugin.cookie`` | | activated when configured. |
506506
| | ``httplug.plugin.history`` | | These services are private and should only be used to configure |
507507
| | ``httplug.plugin.error`` | | clients or other services. |
508+
| | ``httplug.plugin.throttle`` | | |
508509
+-------------------------------------+-------------------------------------------------------------------------+
509510

510511
\* *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.*

integrations/symfony-full-configuration.rst

+5
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ This page shows an example of all configuration values provided by the bundle.
8585
error:
8686
enabled: false
8787
only_server_exception: false
88+
throttle:
89+
name: default
90+
key: null
91+
tokens: 1
92+
max_time: 1
8893
8994
profiling:
9095
enabled: true # Defaults to kernel.debug

0 commit comments

Comments
 (0)