perf: use buffered channels for importing
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/storage/store.go → internal/storage/store.go
@@ -186,7 +186,7 @@ store *Store, source *config.Source, ) func(context.Context) (<-chan nix.Importable, <-chan error) { return func(_ context.Context) (<-chan nix.Importable, <-chan error) { - results := make(chan nix.Importable) + results := make(chan nix.Importable, 1) errs := make(chan error) go func() {