Skip to content

Commit

Permalink
Merge pull request #17 from zkLinkProtocol/feat-add-cross
Browse files Browse the repository at this point in the history
Add cross-dev.
  • Loading branch information
zkcarter authored Apr 10, 2024
2 parents ca2c64f + 618cb65 commit 32261c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start": "cross-env NODE_OPTIONS=--max-old-space-size=4096 nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
Expand All @@ -35,6 +35,7 @@
"bignumber.js": "^9.1.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"ethers": "^6.11.1",
"jest-mock-extended": "^3.0.5",
Expand Down
4 changes: 2 additions & 2 deletions src/renzo/renzo.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class RenzoService extends Worker {
}
};
await func();
setInterval(func, 1000 * 10);
setInterval(func, 1000 * 180);
}

public async loadPointData() {
Expand Down Expand Up @@ -343,4 +343,4 @@ export class RenzoService extends Worker {
);
return [newPoints, addPointsNumber];
}
}
}

0 comments on commit 32261c7

Please sign in to comment.