tj / node-prune

Remove unnecessary files from node_modules (.md, .ts, ...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use buffered channel

StarpTech opened this issue · comments

When we create multiple receivers we should use a buffered channel of the same size as the worker size (NumCPU) to reduce the chance of blocking.