From b93a4272bdc8204dafc84415b6ffe243dbd4c557 Mon Sep 17 00:00:00 2001 From: Haris Razis Date: Mon, 23 Nov 2020 17:20:06 +0200 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=94=A8=20Change=20measurement=20interv?= =?UTF-8?q?al?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/class/ClientService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/class/ClientService.ts b/client/src/class/ClientService.ts index 835fe47..4b8e88e 100644 --- a/client/src/class/ClientService.ts +++ b/client/src/class/ClientService.ts @@ -13,12 +13,12 @@ export class ClientService { tempService(): void { setInterval(() => { this.clientSocket.sendTemp(this.sensor.takeMeasure, 'temperature'); - }, 3000); + }, 1 * 60000); } tempTestService(): void { setInterval(() => { this.clientSocket.sendTemp(this.sensor.takeTestMeasure, 'temperature'); - }, 3000); + }, 1 * 60000); } }