mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Extend task runner force shutdown timeout (#16266)
This commit is contained in:
@@ -59,7 +59,7 @@ void (async function start() {
|
|||||||
runner = new JsTaskRunner(config);
|
runner = new JsTaskRunner(config);
|
||||||
runner.on('runner:reached-idle-timeout', () => {
|
runner.on('runner:reached-idle-timeout', () => {
|
||||||
// Use shorter timeout since we know we don't have any tasks running
|
// Use shorter timeout since we know we don't have any tasks running
|
||||||
void createSignalHandler('IDLE_TIMEOUT', 1)();
|
void createSignalHandler('IDLE_TIMEOUT', 3)();
|
||||||
});
|
});
|
||||||
|
|
||||||
const { enabled, host, port } = config.baseRunnerConfig.healthcheckServer;
|
const { enabled, host, port } = config.baseRunnerConfig.healthcheckServer;
|
||||||
|
|||||||
Reference in New Issue
Block a user