Skip to content

Commit 35e0744

Browse files
Change max-body-size to use unit in documentation (#4906)
Signed-off-by: Jan Češpivo <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 1e3eadb commit 35e0744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

daprdocs/content/en/operations/configuration/increase-request-size.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ By default, Dapr has a limit for the request body size, set to 4MB. You can chan
2222
When running in self-hosted mode, use the `--max-body-size` flag to configure Dapr to use non-default request body size:
2323

2424
```bash
25-
dapr run --max-body-size 16 node app.js
25+
dapr run --max-body-size 16Mi node app.js
2626
```
2727
{{% /tab %}}
2828

@@ -52,7 +52,7 @@ spec:
5252
dapr.io/enabled: "true"
5353
dapr.io/app-id: "myapp"
5454
dapr.io/app-port: "8000"
55-
dapr.io/max-body-size: "16"
55+
dapr.io/max-body-size: "16Mi"
5656
#...
5757
```
5858

0 commit comments

Comments
 (0)