From 27585d0812365afee5890ad16787f94101fbd63a Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 17 Jan 2023 01:21:01 +0800 Subject: [PATCH] Fix #2618 --- 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 9ec3a3103..90cb344ba 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: 10, + deadline: 10, }).then((res) => { // If ping failed, it will set field to unknown if (res.alive) {