You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(hosting): address review feedback on rate limiter defaults
- Reference the core config as a repo path instead of a PHP-style
namespace with backslashes
- Drop trailing periods from the Protects table cells per the docs
table guidelines
- Use shopware.yml consistently in the override example
Copy file name to clipboardExpand all lines: guides/hosting/infrastructure/rate-limiter.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,24 +19,24 @@ These rate limiters are always active. You do not need to add the `shopware.api.
19
19
20
20
## Default rate limiters
21
21
22
-
The following limiters are enabled by default. The values listed here reflect the current Shopware core configuration and may change between versions. When in doubt, the source of truth is `Shopware\Core\Framework\Resources\config\packages\shopware.yaml` in the version you are running.
22
+
The following limiters are enabled by default. The values listed here reflect the current Shopware core configuration and may change between versions. When in doubt, the source of truth is `src/Core/Framework/Resources/config/packages/shopware.yaml` in the version you are running.
|`cart_add_line_item`| Adding line items to the cart.| 6.4.18.0 |`system_config`| 1 hour | Limit read from `core.cart.lineItemAddLimit`, interval 60s |
|`cart_add_line_item`| Adding line items to the cart | 6.4.18.0 |`system_config`| 1 hour | Limit read from `core.cart.lineItemAddLimit`, interval 60s |
|`mcp_admin_api`| MCP server Admin API access (keyed per OAuth token) | 6.8.0.0 |`time_backoff`| 1 hour | 300 / 60s, 1000 / 10min |
39
+
|`mcp_store_api`| MCP server Store API access (keyed per sales-channel context token) | 6.8.0.0 |`time_backoff`| 1 hour | 120 / 60s, 600 / 10min |
40
40
41
41
In the table above, `Limits` uses the `limit / interval` notation, and `s` / `min` are seconds / minutes. When you add a new default limiter to the core, add a row here with its introduction version so this table stays complete.
42
42
@@ -56,7 +56,7 @@ To override the [default rate limiters](#default-rate-limiters) for your shop, y
56
56
The following example disables the `login` limiter and overrides the `oauth` limiter:
0 commit comments