mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
Adding new environment variable for workflow history (#4078)
This commit is contained in:
committed by
GitHub
parent
27bc6958ee
commit
ea06e96908
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: Workflow history environment variables
|
||||
description: Environment variables to configure workflow history in n8n.
|
||||
contentType: reference
|
||||
tags:
|
||||
- environment variables
|
||||
hide:
|
||||
- toc
|
||||
- tags
|
||||
---
|
||||
|
||||
# Workflow history environment variables
|
||||
|
||||
| Variable | Type | Default | Description |
|
||||
| :------- | :---- | :------- | :---------- |
|
||||
| `N8N_WORKFLOW_HISTORY_PRUNE_TIME` | Number | `-1` | How long to keep workflow history versions before automatically deleting them (in hours). Set to `-1` to keep all versions indefinitely. |
|
||||
1
nav.yml
1
nav.yml
@@ -1220,6 +1220,7 @@ nav:
|
||||
- Timezone and localization: hosting/configuration/environment-variables/timezone-localization.md
|
||||
- User management and 2FA: hosting/configuration/environment-variables/user-management-smtp-2fa.md
|
||||
- Workflows: hosting/configuration/environment-variables/workflows.md
|
||||
- Workflow history: hosting/configuration/environment-variables/workflow-history.md
|
||||
- Configuration methods: hosting/configuration/configuration-methods.md
|
||||
- Configuration examples:
|
||||
- hosting/configuration/configuration-examples/index.md
|
||||
|
||||
Reference in New Issue
Block a user