fix(core): update
This commit is contained in:
parent
0e3fadca36
commit
df5197fc8e
@ -26,7 +26,8 @@ export class SmartMetrics {
|
|||||||
}
|
}
|
||||||
this.started = true;
|
this.started = true;
|
||||||
while (this.started) {
|
while (this.started) {
|
||||||
this.logger.log('info', `sending heartbeat for ${this.sourceNameArg}`, {
|
this.logger.log('info', `sending heartbeat for ${this.sourceNameArg} with metrics`, {
|
||||||
|
eventType: 'heartbeat',
|
||||||
metrics: await this.getMetrics(),
|
metrics: await this.getMetrics(),
|
||||||
});
|
});
|
||||||
await plugins.smartdelay.delayFor(60000, null, true);
|
await plugins.smartdelay.delayFor(60000, null, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user