mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
⚡ Change same-process-execution setting to make it future proof
This commit is contained in:
@@ -55,6 +55,17 @@ const config = convict({
|
||||
},
|
||||
|
||||
executions: {
|
||||
|
||||
// By default workflows get always executed in their own process.
|
||||
// If this option gets set to "main" it will run them in the
|
||||
// main-process instead.
|
||||
process: {
|
||||
doc: 'In what process workflows should be executed',
|
||||
format: ['main', 'own'],
|
||||
default: 'own',
|
||||
env: 'EXECUTIONS_PROCESS'
|
||||
},
|
||||
|
||||
// If a workflow executes all the data gets saved by default. This
|
||||
// could be a problem when a workflow gets executed a lot and processes
|
||||
// a lot of data. To not write the database full it is possible to
|
||||
@@ -84,12 +95,6 @@ const config = convict({
|
||||
default: false,
|
||||
env: 'EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS'
|
||||
},
|
||||
|
||||
sameProcessExecution: {
|
||||
doc: 'Executes the workflows in the same process instead of in a separate one',
|
||||
default: false,
|
||||
env: 'EXECUTIONS_SAME_PROCESS'
|
||||
},
|
||||
},
|
||||
|
||||
generic: {
|
||||
|
||||
Reference in New Issue
Block a user