Remove debug log for host status in fetchAlive function

This commit is contained in:
2025-10-29 09:38:33 +01:00
parent 4f2d6fa895
commit 0a7b329dae

View File

@@ -102,7 +102,6 @@ export class StatusService {
const hosts = this.hosts.filter((value, index) => index < max * 10 && index >= (max - 1) * 10); const hosts = this.hosts.filter((value, index) => index < max * 10 && index >= (max - 1) * 10);
async function fetchAlive(host: Host) { async function fetchAlive(host: Host) {
console.log(host.name+" "+host.host)
if(host.type === 'ping'){ if(host.type === 'ping'){
let res = await ping.promise.probe(host.host, {timeout: 3}); let res = await ping.promise.probe(host.host, {timeout: 3});
host.alive = res.alive; host.alive = res.alive;