mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: add possibility to configure stop time for workers (#4012)
* feat: add a timer to gracefully control how long workers wait before exiting
This commit is contained in:
@@ -351,6 +351,12 @@ export const schema = {
|
||||
default: 60,
|
||||
env: 'QUEUE_RECOVERY_INTERVAL',
|
||||
},
|
||||
gracefulShutdownTimeout: {
|
||||
doc: 'How long should n8n wait for running executions before exiting worker process',
|
||||
format: Number,
|
||||
default: 30,
|
||||
env: 'QUEUE_WORKER_TIMEOUT',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user