We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d29cd5 commit 9fca6f0Copy full SHA for 9fca6f0
src/node/heart.ts
@@ -38,13 +38,7 @@ export class Heart {
38
if (typeof this.heartbeatTimer !== "undefined") {
39
clearTimeout(this.heartbeatTimer)
40
}
41
- this.heartbeatTimer = setTimeout(async () => {
42
- try {
43
- await heartbeatTimer(this.isActive, this.beat)
44
- } catch (error: any) {
45
- logger.warn(error.message)
46
- }
47
- }, this.heartbeatInterval)
+ this.heartbeatTimer = setTimeout(() => heartbeatTimer(this.isActive, this.beat), this.heartbeatInterval)
48
49
50
/**
0 commit comments