perf: use buffered channels for importing
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/importer/options.go → internal/importer/options.go
@@ -98,7 +98,7 @@ return &i, nil } func (i *OptionIngester) Process(ctx context.Context) (<-chan nix.Importable, <-chan error) { - results := make(chan nix.Importable) + results := make(chan nix.Importable, 1) errs := make(chan error) go func() {