Skip to content

Commit 421359f

Browse files
Disable listeners
1 parent 542daae commit 421359f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/api-sync/source/listeners.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { Identifiers } from "@mainsail/constants";
55
import { inject, injectable } from "@mainsail/container";
66

77
import { EventListener, Listeners as IListeners } from "./contracts.js";
8-
import { ApiNodes } from "./listeners/api-nodes.js";
9-
import { DeployerContracts } from "./listeners/contracts.js";
10-
import { Peers } from "./listeners/peers.js";
11-
import { Plugins } from "./listeners/plugins.js";
8+
// import { ApiNodes } from "./listeners/api-nodes.js";
9+
// import { DeployerContracts } from "./listeners/contracts.js";
10+
// import { Peers } from "./listeners/peers.js";
11+
// import { Plugins } from "./listeners/plugins.js";
1212

1313
@injectable()
1414
export class Listeners implements IListeners {
@@ -19,7 +19,7 @@ export class Listeners implements IListeners {
1919

2020
public async register(): Promise<void> {
2121
// Listen to events before bootstrap, so we can catch all boot events.
22-
for (const constructor of [ApiNodes, DeployerContracts, Peers, Plugins]) {
22+
for (const constructor of []) {
2323
const listener = this.app.resolve(constructor as Contracts.Kernel.Container.Newable<EventListener>);
2424
await listener.register();
2525
this.#listeners.push(listener);

0 commit comments

Comments
 (0)