isaacs / node-graceful-fs

fs with incremental backoff on EMFILE
ISC License
1.27k stars 148 forks source link

Create/use global shared retry queue. #169

Closed coreyfarrell closed 5 years ago

coreyfarrell commented 5 years ago

Importing a fresh copy of graceful-fs then using require('fs').close would only initiate retry of the queue from the first copy of graceful-fs, so needed retries associated with subsequent instances of graceful-fs would not be executed.