mirror of
https://github.com/thedrewen/protojx-manager.git
synced 2026-03-21 09:48:56 +01:00
Remove debug log for host status in fetchAlive function
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user