all repos — searchix @ 0f5508013d776f8806a87957f80e74c7f74c72eb

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat(config): print durations and URLs with human values

Alan Pearce
commit

0f5508013d776f8806a87957f80e74c7f74c72eb

parent

d0c2de9e762fb476b5cb53bb5129bf8af8cb9b45

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/fetcher/download.gointernal/fetcher/download.go
@@ -26,7 +26,7 @@
func (i *DownloadFetcher) FetchIfNeeded( parent context.Context, ) (f FetchedFiles, updated bool, err error) { - ctx, cancel := context.WithTimeout(parent, i.Source.FetchTimeout) + ctx, cancel := context.WithTimeout(parent, i.Source.FetchTimeout.Duration) defer cancel() root := i.DataPath