Skip to content

Hardcoded timeout in updater.DownloadTarget #660

@eikenb

Description

@eikenb

data, err := update.cfg.Fetcher.DownloadFile(fullURL, targetFile.Length, time.Second*15)

We're hitting the timeout above when downloading files using the updater and want to raise it. Maybe this should be passed in as a parameter or added to the UpdaterConfig? Our current workaround is a re-implementation of the DownloadTarget() function that lets us set that value.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions