Skip to content
Snippets Groups Projects
Commit a9361a5a authored by echicken's avatar echicken :chicken:
Browse files

OR NOT I DON'T CARE WHATEVER DUDE

parent ef0b041f
Branches
No related tags found
No related merge requests found
......@@ -186,7 +186,8 @@ export default abstract class Device extends js.global.EventEmitter {
this.ready = true;
if (this.readyEvent > -1) js.clearTimeout(this.readyEvent);
this.emit('ready');
this.heartbeatEvent = js.setInterval(this.sendHeartbeat, this.heartbeatInterval * 1000, this);
// @ts-expect-error shut up
this.heartbeatEvent = js.setInterval(function () { this.sendHeartbeat(); }, 30000, this)
}
break;
case 'metadata':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment