4 Commits

Author SHA1 Message Date
057a0a329e 1.0.17 2021-12-06 20:14:30 +01:00
e53bebf7a1 fix(core): update 2021-12-06 20:14:30 +01:00
c4f5e9338a 1.0.16 2021-08-19 19:22:30 +02:00
dad2bc26fc fix(core): update 2021-08-19 19:22:29 +02:00
3 changed files with 4 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@pushrocks/smartmetrics", "name": "@pushrocks/smartmetrics",
"version": "1.0.15", "version": "1.0.17",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pushrocks/smartmetrics", "name": "@pushrocks/smartmetrics",
"version": "1.0.15", "version": "1.0.17",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartmetrics", "name": "@pushrocks/smartmetrics",
"version": "1.0.15", "version": "1.0.17",
"private": false, "private": false,
"description": "easy system metrics", "description": "easy system metrics",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -1,6 +1,5 @@
import * as plugins from './smartmetrics.plugins'; import * as plugins from './smartmetrics.plugins';
import * as interfaces from './smartmetrics.interfaces'; import * as interfaces from './smartmetrics.interfaces';
import { Cipher } from 'crypto';
export class SmartMetrics { export class SmartMetrics {
public started = false; public started = false;
@ -31,7 +30,7 @@ export class SmartMetrics {
eventType: 'heartbeat', eventType: 'heartbeat',
metrics: await this.getMetrics(), metrics: await this.getMetrics(),
}); });
await plugins.smartdelay.delayFor(10000, null, true); await plugins.smartdelay.delayFor(20000, null, true);
} }
}; };
unattendedStart(); unattendedStart();