Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit 8390cc7

Browse files
author
icymind
committed
reduce ping timeout to 1s
1 parent 4791dd8 commit 8390cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ class Utils {
402402
// vboxmanage list runningvms 在windows下非常不可靠
403403
return new Promise((resolve, reject) => {
404404
ping.promise.probe(ip, {
405-
timeout: 10,
405+
timeout: 1,
406406
min_reply: 1
407407
})
408408
.then(res => {

0 commit comments

Comments
 (0)