Skip to content

Commit

Permalink
fix: timeout duration
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Apr 26, 2022
1 parent 61b71a9 commit 02db22f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/go/analytics/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"os"
"runtime"
"strconv"
"time"

"github.com/denisbrodbeck/machineid"
)
Expand Down Expand Up @@ -214,6 +215,6 @@ func getClient() *http.Client {
InsecureSkipVerify: true,
},
},
Timeout: 10,
Timeout: 10 * time.Second,
}
}

0 comments on commit 02db22f

Please sign in to comment.