all repos — searchix @ ad69a8fe77bd853143457913b62ce7d6f5bc2946

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

perf: use buffered channels for importing

Alan Pearce
commit

ad69a8fe77bd853143457913b62ce7d6f5bc2946

parent

0a9814bb65fafcedbefc9cbd153b3ada8141492a

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

changed files
M internal/importer/package.gointernal/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 {