mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-15 17:51:09 +00:00
Add comment for pingTimeout
This commit is contained in:
parent
26d8870cab
commit
04de262268
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ var (
|
||||||
secureHTTPClient *http.Client
|
secureHTTPClient *http.Client
|
||||||
insecureHTTPClient *http.Client
|
insecureHTTPClient *http.Client
|
||||||
|
|
||||||
|
// pingTimeout is the timeout for the Ping function
|
||||||
|
// This is mainly exposed for testing purposes
|
||||||
pingTimeout = 5 * time.Second
|
pingTimeout = 5 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue