hotfix - memory leak - set interval
MODIFY
src/server/ocpp/json/JsonOCPPServer.ts
src/server/ocpp/json/JsonOCPPServer.ts
@@ -716,7 +716,7 @@ export default class JsonOCPPServer extends OCPPServer {
}
private checkAndCleanupAllWebSockets() {
- setTimeout(() => {
+ setInterval(() => {
// Check Json connections
this.checkAndCleanupWebSockets(this.jsonWSConnections, 'CS').catch(() => { /* Intentional */ });
// Check Rest connections

hotfix - memory leak - set interval