From 54cd981d6ecbf822caaeb519228760c767e489d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Ce=C5=A1pivo?= Date: Wed, 1 Oct 2025 14:37:42 +0200 Subject: [PATCH] Change max-body-size to use unit in documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Češpivo --- .../en/operations/configuration/increase-request-size.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/operations/configuration/increase-request-size.md b/daprdocs/content/en/operations/configuration/increase-request-size.md index 2246d93bfdd..76c9d613949 100644 --- a/daprdocs/content/en/operations/configuration/increase-request-size.md +++ b/daprdocs/content/en/operations/configuration/increase-request-size.md @@ -22,7 +22,7 @@ By default, Dapr has a limit for the request body size, set to 4MB. You can chan When running in self-hosted mode, use the `--max-body-size` flag to configure Dapr to use non-default request body size: ```bash -dapr run --max-body-size 16 node app.js +dapr run --max-body-size 16Mi node app.js ``` {{% /tab %}} @@ -52,7 +52,7 @@ spec: dapr.io/enabled: "true" dapr.io/app-id: "myapp" dapr.io/app-port: "8000" - dapr.io/max-body-size: "16" + dapr.io/max-body-size: "16Mi" #... ```