Work on #61: Add support for ICMP

+ Update dependencies
This commit is contained in:
TwinProduction committed 2020-12-25 00:07:18 -05:00
1 parent c86173d46f
commit 83a5813daf
1004 files changed
+182274 -64323

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ func limitDial(network, addr string) (net.Conn, error) {
// Dial with a timeout in case the API host is MIA.
// The connection should normally be very fast.
conn, err := net.DialTimeout(network, addr, 500*time.Millisecond)
conn, err := net.DialTimeout(network, addr, 10*time.Second)
if err != nil {
limitRelease()
return nil, err