diff --git a/docs/index.md b/docs/index.md index aa0e3367..79186f65 100644 --- a/docs/index.md +++ b/docs/index.md @@ -38,7 +38,7 @@ from the Twingate Admin Console ([documentation](https://docs.twingate.com/docs/ Alternatively, this can be specified using the TWINGATE_API_TOKEN environment variable. - `http_max_retry` (Number) Specifies a retry limit for the http requests made. The default value is 10. Alternatively, this can be specified using the TWINGATE_HTTP_MAX_RETRY environment variable -- `http_timeout` (Number) Specifies a time limit in seconds for the http requests made. The default value is 10 seconds. +- `http_timeout` (Number) Specifies a time limit in seconds for the http requests made. The default value is 35 seconds. Alternatively, this can be specified using the TWINGATE_HTTP_TIMEOUT environment variable - `network` (String) Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example: diff --git a/twingate/provider.go b/twingate/provider.go index 08e51024..a21e4c78 100644 --- a/twingate/provider.go +++ b/twingate/provider.go @@ -15,7 +15,7 @@ import ( ) const ( - DefaultHTTPTimeout = "10" + DefaultHTTPTimeout = "35" DefaultHTTPMaxRetry = "10" DefaultURL = "twingate.com" diff --git a/twingate/v2/provider.go b/twingate/v2/provider.go index 09509f2d..ed9e9546 100644 --- a/twingate/v2/provider.go +++ b/twingate/v2/provider.go @@ -20,7 +20,7 @@ import ( ) const ( - DefaultHTTPTimeout = "10" + DefaultHTTPTimeout = "35" DefaultHTTPMaxRetry = "10" DefaultURL = "twingate.com"