diff options
author | Alan Pearce | 2024-05-20 18:13:07 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-20 18:13:07 +0200 |
commit | 0f5508013d776f8806a87957f80e74c7f74c72eb (patch) | |
tree | 1d7b9bbe1b296d08d2ca9e740dc546cccaf4e1df /internal/importer/options.go | |
parent | d0c2de9e762fb476b5cb53bb5129bf8af8cb9b45 (diff) | |
download | searchix-0f5508013d776f8806a87957f80e74c7f74c72eb.tar.lz searchix-0f5508013d776f8806a87957f80e74c7f74c72eb.tar.zst searchix-0f5508013d776f8806a87957f80e74c7f74c72eb.zip |
feat(config): print durations and URLs with human values
Diffstat (limited to 'internal/importer/options.go')
-rw-r--r-- | internal/importer/options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/importer/options.go b/internal/importer/options.go index 51a6eb4..8ce684c 100644 --- a/internal/importer/options.go +++ b/internal/importer/options.go @@ -88,7 +88,7 @@ func NewOptionProcessor(infile io.ReadCloser, source *config.Source) (*OptionIng } func (i *OptionIngester) Process(parent context.Context) (<-chan nix.Importable, <-chan error) { - ctx, cancel := context.WithTimeout(parent, i.source.ImportTimeout) + ctx, cancel := context.WithTimeout(parent, i.source.ImportTimeout.Duration) results := make(chan nix.Importable) errs := make(chan error) |