mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00:00
Fix timeout
This commit is contained in:
parent
7d92351568
commit
0b959514f8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue