mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 04:04:41 -05:00
Match previous settings
This commit is contained in:
parent
494c53971c
commit
7d92351568
@ -102,7 +102,8 @@ exports.pingAsync = function (hostname, ipv6 = false) {
|
||||
return new Promise((resolve, reject) => {
|
||||
ping.promise.probe(hostname, {
|
||||
v6: ipv6,
|
||||
min_reply: 3
|
||||
min_reply: 1,
|
||||
timeout: 10000,
|
||||
}).then((res) => {
|
||||
// If ping failed, it will set field to unknown
|
||||
if (res.alive) {
|
||||
|
Loading…
Reference in New Issue
Block a user