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