diff --git a/package.json b/package.json index 2c53df9..9a92a33 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/src/renzo/renzo.service.ts b/src/renzo/renzo.service.ts index dc4c7b5..fd966ef 100644 --- a/src/renzo/renzo.service.ts +++ b/src/renzo/renzo.service.ts @@ -67,7 +67,7 @@ export class RenzoService extends Worker { } }; await func(); - setInterval(func, 1000 * 10); + setInterval(func, 1000 * 180); } public async loadPointData() { @@ -343,4 +343,4 @@ export class RenzoService extends Worker { ); return [newPoints, addPointsNumber]; } -} \ No newline at end of file +}