mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Update pruning related config defaults for v1 (#6577)
* Save manual executions by default * Enable executions data pruning by default * Keep a maximum of 10000 executions by default Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
This commit is contained in:
parent
d0eb5d4e1b
commit
ffb4e470b5
|
@ -297,7 +297,7 @@ export const schema = {
|
||||||
saveDataManualExecutions: {
|
saveDataManualExecutions: {
|
||||||
doc: 'Save data of executions when started manually via editor',
|
doc: 'Save data of executions when started manually via editor',
|
||||||
format: 'Boolean',
|
format: 'Boolean',
|
||||||
default: false,
|
default: true,
|
||||||
env: 'EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS',
|
env: 'EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ export const schema = {
|
||||||
pruneData: {
|
pruneData: {
|
||||||
doc: 'Delete data of past executions on a rolling basis',
|
doc: 'Delete data of past executions on a rolling basis',
|
||||||
format: 'Boolean',
|
format: 'Boolean',
|
||||||
default: false,
|
default: true,
|
||||||
env: 'EXECUTIONS_DATA_PRUNE',
|
env: 'EXECUTIONS_DATA_PRUNE',
|
||||||
},
|
},
|
||||||
pruneDataMaxAge: {
|
pruneDataMaxAge: {
|
||||||
|
@ -327,11 +327,11 @@ export const schema = {
|
||||||
|
|
||||||
// Additional pruning option to delete executions if total count exceeds the configured max.
|
// Additional pruning option to delete executions if total count exceeds the configured max.
|
||||||
// Deletes the oldest entries first
|
// Deletes the oldest entries first
|
||||||
// Default is 0 = No limit
|
// Set to 0 for No limit
|
||||||
pruneDataMaxCount: {
|
pruneDataMaxCount: {
|
||||||
doc: 'Maximum number of executions to keep in DB. Default 0 = no limit',
|
doc: 'Maximum number of executions to keep in DB. 0 = no limit',
|
||||||
format: Number,
|
format: Number,
|
||||||
default: 0,
|
default: 10000,
|
||||||
env: 'EXECUTIONS_DATA_PRUNE_MAX_COUNT',
|
env: 'EXECUTIONS_DATA_PRUNE_MAX_COUNT',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue