Closed SukkaW closed 9 months ago
@manidlou bump
Published in v11.2.0!
@RyanZim ❤️
Too bad I can't port this change to Node.js' fs#cp
. Node.js doesn't have graceful-fs
, thus EMFILE
can not be avoided.
Too bad I can't port this change to Node.js' fs#cp. Node.js doesn't have graceful-fs, thus EMFILEcan not be avoided.
You'd have to implement a concurrency limit yourself, I guess.
The PR uses a technique similar to #885 to speed up the recursive copy operation.
As
fs-extra
is built on top ofgraceful-fs
, this change won't causeEMFILE: too many open files
asgraceful-fs
will exponentially backoff and retry.