mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-30 18:29:21 +08:00
Sets the `Timeout` of the http.Client used by the auth client to 30s to prevent requests from blocking indefinitely. There have been several failure scenarios that result in teleport being completely stuck due to never receiving a response from an http request. The 30s upper bound should prevent this, while also being long enough that it shouldn't impact any requests which may be slow.