Skip to content

Commit

Permalink
Merge pull request #55 from XinFinOrg/feature-v1-release
Browse files Browse the repository at this point in the history
update for Subnet Configuration Generator v1 release
  • Loading branch information
wanwiset25 authored Oct 3, 2024
2 parents 89ac6d5 + 7a0f5bd commit 6ddfa80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .example.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Application Port - KOA server listens on this port (default 4000).
RELAYER_PORT=4000
# Application Port - KOA server listens on this port (default 5215).
RELAYER_PORT=5215

NODE_ENV=development

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const getZeroConfig = (): XdcZeroConfig => {
};

const config: Config = {
port: +(process.env.RELAYER_PORT || 4000),
port: +(process.env.RELAYER_PORT || 5215),
devMode: devMode,
cronJob: {
liteJobExpression: "0 */2 * * * *", // every 2min
Expand Down
1 change: 1 addition & 0 deletions src/processors/base.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Bull from "bull";


export abstract class BaseProcessor {
queue: Bull.Queue;
constructor(name: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/processors/lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Lite extends BaseProcessor {
super(NAME);
this.logger = logger;
this.liteMainnetService = new LiteMainnetService(config.mainnet, logger);
// this.subnetService = new SubnetService(config.subnet, logger);
this.subnetService = new SubnetService(config.subnet, logger);
}

init() {
Expand Down

0 comments on commit 6ddfa80

Please sign in to comment.