From 04de2622683be6fba9c25bc737314b6ea7b9fe6e Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Tue, 12 Jan 2021 21:37:21 -0500 Subject: [PATCH] Add comment for pingTimeout --- client/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/client.go b/client/client.go index ded131e8..348976f0 100644 --- a/client/client.go +++ b/client/client.go @@ -13,6 +13,8 @@ var ( secureHTTPClient *http.Client insecureHTTPClient *http.Client + // pingTimeout is the timeout for the Ping function + // This is mainly exposed for testing purposes pingTimeout = 5 * time.Second )