mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Match previous settings
This commit is contained in:
parent
494c53971c
commit
7d92351568
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue