|
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.
go-tuf/metadata/updater/updater.go
Line 248 in 990cdb8
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.