mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Drop request timeout on FMA add endpoint (#27602)
If the Fleet server is on a connection that can't pull ~150 Mbps down, it'll time out before being able to add Microsoft Word for macOS, due to the 100-second default timeout. This skips that behavior. # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files) for more information.
This commit is contained in:
parent
82ab7814d9
commit
e5ebc3e20b
2 changed files with 2 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
- Fixed software installer download errors by extending the timeout for the download endpoints.
|
||||
- Fixed software installer download and Fleet Maintained App add errors by extending the timeout for the download and FMA add endpoints.
|
||||
|
|
@ -1224,6 +1224,7 @@ the way that the Fleet server works.
|
|||
(req.Method == http.MethodPatch && strings.HasSuffix(req.URL.Path, "/package") && strings.Contains(req.URL.Path,
|
||||
"/fleet/software/titles/")) ||
|
||||
(req.Method == http.MethodPost && strings.HasSuffix(req.URL.Path, "/bootstrap")) ||
|
||||
(req.Method == http.MethodPost && strings.HasSuffix(req.URL.Path, "/fleet_maintained_apps")) ||
|
||||
(req.Method == http.MethodGet && strings.Contains(req.URL.Path, "/package/token")) ||
|
||||
(req.Method == http.MethodPost && strings.Contains(req.URL.Path, "orbit/software_install/package")) {
|
||||
var zeroTime time.Time
|
||||
|
|
|
|||
Loading…
Reference in a new issue