From 0b959514f880f8e9dc6953375961d05a86b8fe36 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 5 Jan 2023 20:38:37 +0800 Subject: [PATCH] Fix timeout --- server/util-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util-server.js b/server/util-server.js index 6b9ed339..4a30017a 100644 --- a/server/util-server.js +++ b/server/util-server.js @@ -103,7 +103,7 @@ exports.pingAsync = function (hostname, ipv6 = false) { ping.promise.probe(hostname, { v6: ipv6, min_reply: 1, - timeout: 10000, + timeout: 10, }).then((res) => { // If ping failed, it will set field to unknown if (res.alive) {