mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
feat: Initial Code Task Runners support (no-changelog) (#10698)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com> Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
@@ -119,6 +119,8 @@ 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) => {
|
||||
@@ -182,6 +184,10 @@ 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