mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Workflow History pruning and prune time settings (#7343)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -1227,4 +1227,20 @@ export const schema = {
|
||||
env: 'N8N_SOURCECONTROL_DEFAULT_SSH_KEY_TYPE',
|
||||
},
|
||||
},
|
||||
|
||||
workflowHistory: {
|
||||
enabled: {
|
||||
doc: 'Whether to save workflow history versions',
|
||||
format: Boolean,
|
||||
default: true,
|
||||
env: 'N8N_WORKFLOW_HISTORY_ENABLED',
|
||||
},
|
||||
|
||||
pruneTime: {
|
||||
doc: 'Time (in hours) to keep workflow history versions for',
|
||||
format: Number,
|
||||
default: -1,
|
||||
env: 'N8N_WORKFLOW_HISTORY_PRUNE_TIME',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user