refactor(core): Remove unused code from Server.ts (no-changelog) (#8426)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-01-24 12:55:43 +01:00 committed by GitHub
parent e9fea16301
commit 1affebd85e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,11 +55,9 @@ import { ExternalSecretsController } from '@/ExternalSecrets/ExternalSecrets.con
import { ExecutionsController } from '@/executions/executions.controller'; import { ExecutionsController } from '@/executions/executions.controller';
import { isApiEnabled, loadPublicApiVersions } from '@/PublicApi'; import { isApiEnabled, loadPublicApiVersions } from '@/PublicApi';
import type { ICredentialsOverwrite, IDiagnosticInfo } from '@/Interfaces'; import type { ICredentialsOverwrite, IDiagnosticInfo } from '@/Interfaces';
import { ActiveExecutions } from '@/ActiveExecutions';
import { CredentialsOverwrites } from '@/CredentialsOverwrites'; import { CredentialsOverwrites } from '@/CredentialsOverwrites';
import { LoadNodesAndCredentials } from '@/LoadNodesAndCredentials'; import { LoadNodesAndCredentials } from '@/LoadNodesAndCredentials';
import * as ResponseHelper from '@/ResponseHelper'; import * as ResponseHelper from '@/ResponseHelper';
import { WaitTracker } from '@/WaitTracker';
import { toHttpNodeParameters } from '@/CurlConverterHelper'; import { toHttpNodeParameters } from '@/CurlConverterHelper';
import { EventBusController } from '@/eventbus/eventBus.controller'; import { EventBusController } from '@/eventbus/eventBus.controller';
import { EventBusControllerEE } from '@/eventbus/eventBus.controller.ee'; import { EventBusControllerEE } from '@/eventbus/eventBus.controller.ee';
@ -101,10 +99,6 @@ const exec = promisify(callbackExec);
export class Server extends AbstractServer { export class Server extends AbstractServer {
private endpointPresetCredentials: string; private endpointPresetCredentials: string;
private waitTracker: WaitTracker;
private activeExecutionsInstance: ActiveExecutions;
private presetCredentialsLoaded: boolean; private presetCredentialsLoaded: boolean;
private loadNodesAndCredentials: LoadNodesAndCredentials; private loadNodesAndCredentials: LoadNodesAndCredentials;
@ -130,9 +124,6 @@ export class Server extends AbstractServer {
this.frontendService = Container.get(require('@/services/frontend.service').FrontendService); this.frontendService = Container.get(require('@/services/frontend.service').FrontendService);
} }
this.activeExecutionsInstance = Container.get(ActiveExecutions);
this.waitTracker = Container.get(WaitTracker);
this.presetCredentialsLoaded = false; this.presetCredentialsLoaded = false;
this.endpointPresetCredentials = config.getEnv('credentials.overwrite.endpoint'); this.endpointPresetCredentials = config.getEnv('credentials.overwrite.endpoint');