From 853de8f7bb3f73e95bddd03c080f35ccb3b2b76e Mon Sep 17 00:00:00 2001 From: Harshil Date: Fri, 9 Apr 2021 14:32:22 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Add=20max=20payload=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/reference/configuration.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index cba0fb903..88fa14cbc 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -254,8 +254,7 @@ export WEBHOOK_TUNNEL_URL=https://n8n.example.com/ ## Prometheus -In order to collect and expose metrics, n8n uses the -[prom-client](https://www.npmjs.com/package/prom-client) library. +In order to collect and expose metrics, n8n uses the [prom-client](https://www.npmjs.com/package/prom-client) library. The `/metrics` endpoint is disabled by default, but it is possible to enable it using the `N8N_METRICS` environment variable. @@ -280,6 +279,15 @@ It is also possible to set default values for credentials. These credentials get export CREDENTIALS_OVERWRITE_DATA={CREDENTIAL_NAME:{ PARAMATER: Value }} ``` +## Maximum payload limit + +The default maximum incoming payload limit is **16MB**. To increase the maximum payload limit use, the following format. + +```bash +export N8N_PAYLOAD_SIZE_MAX=VALUE +``` + +The value is in MB. For example, if you want to set the limit to 32MB, use `N8N_PAYLOAD_SIZE_MAX=32`. ## Configuration via file