mirror of
https://github.com/micromdm/micromdm/
synced 2026-06-20 02:58:05 +08:00
In order to set custom transport options on the http.Client used by the push service we need to create our own instance. This allows us to configure the IdleConnTimeout and prevent connections from being killed and pushes not being sent. 90 seconds is used here since it's the same as the DefaultTransport provided by Go.