mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
feat: Separate task runner server from main http server (no-changelog) (#11062)
This commit is contained in:
@@ -119,8 +119,6 @@ export abstract class AbstractServer {
|
||||
|
||||
protected setupPushServer() {}
|
||||
|
||||
protected setupRunnerServer() {}
|
||||
|
||||
private async setupHealthCheck() {
|
||||
// main health check should not care about DB connections
|
||||
this.app.get('/healthz', async (_req, res) => {
|
||||
@@ -184,10 +182,6 @@ export abstract class AbstractServer {
|
||||
if (!inTest) {
|
||||
await this.setupErrorHandlers();
|
||||
this.setupPushServer();
|
||||
|
||||
if (!this.globalConfig.taskRunners.disabled) {
|
||||
this.setupRunnerServer();
|
||||
}
|
||||
}
|
||||
|
||||
this.setupCommonMiddlewares();
|
||||
|
||||
Reference in New Issue
Block a user