@@ -3223,7 +3223,8 @@ changes:
32233223 - version: REPLACEME
32243224 pr-url: https://github.com/nodejs/node/pull/30644
32253225 description: The `maxBusyTries` option is renamed to `maxRetries`, and its
3226- default is 0.
3226+ default is 0. The `emfileWait` option has been removed, and
3227+ `EMFILE` errors use the same retry logic as other errors.
32273228 - version: v12.10.0
32283229 pr-url: https://github.com/nodejs/node/pull/29168
32293230 description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -3246,14 +3247,11 @@ changes:
32463247
32473248* ` path ` {string|Buffer|URL}
32483249* ` options ` {Object}
3249- * ` emfileWait ` {integer} If an ` EMFILE ` error is encountered, Node.js will
3250- retry the operation with a linear backoff of 1ms longer on each try until the
3251- timeout duration passes this limit. This option is ignored if the ` recursive `
3252- option is not ` true ` . ** Default:** ` 1000 ` .
3253- * ` maxRetries ` {integer} If an ` EBUSY ` , ` ENOTEMPTY ` , or ` EPERM ` error is
3254- encountered, Node.js will retry the operation with a linear backoff wait of
3255- 100ms longer on each try. This option represents the number of retries. This
3256- option is ignored if the ` recursive ` option is not ` true ` . ** Default:** ` 0 ` .
3250+ * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENOTEMPTY ` , or ` EPERM `
3251+ error is encountered, Node.js will retry the operation with a linear backoff
3252+ wait of 100ms longer on each try. This option represents the number of
3253+ retries. This option is ignored if the ` recursive ` option is not ` true ` .
3254+ ** Default:** ` 0 ` .
32573255 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
32583256 recursive mode, errors are not reported if ` path ` does not exist, and
32593257 operations are retried on failure. ** Default:** ` false ` .
@@ -3273,7 +3271,8 @@ changes:
32733271 - version: REPLACEME
32743272 pr-url: https://github.com/nodejs/node/pull/30644
32753273 description: The `maxBusyTries` option is renamed to `maxRetries`, and its
3276- default is 0.
3274+ default is 0. The `emfileWait` option has been removed, and
3275+ `EMFILE` errors use the same retry logic as other errors.
32773276 - version: v12.10.0
32783277 pr-url: https://github.com/nodejs/node/pull/29168
32793278 description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -5005,7 +5004,8 @@ changes:
50055004 - version: REPLACEME
50065005 pr-url: https://github.com/nodejs/node/pull/30644
50075006 description: The `maxBusyTries` option is renamed to `maxRetries`, and its
5008- default is 0.
5007+ default is 0. The `emfileWait` option has been removed, and
5008+ `EMFILE` errors use the same retry logic as other errors.
50095009 - version: v12.10.0
50105010 pr-url: https://github.com/nodejs/node/pull/29168
50115011 description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -5016,14 +5016,11 @@ changes:
50165016
50175017* ` path ` {string|Buffer|URL}
50185018* ` options ` {Object}
5019- * ` emfileWait ` {integer} If an ` EMFILE ` error is encountered, Node.js will
5020- retry the operation with a linear backoff of 1ms longer on each try until the
5021- timeout duration passes this limit. This option is ignored if the ` recursive `
5022- option is not ` true ` . ** Default:** ` 1000 ` .
5023- * ` maxRetries ` {integer} If an ` EBUSY ` , ` ENOTEMPTY ` , or ` EPERM ` error is
5024- encountered, Node.js will retry the operation with a linear backoff wait of
5025- 100ms longer on each try. This option represents the number of retries. This
5026- option is ignored if the ` recursive ` option is not ` true ` . ** Default:** ` 0 ` .
5019+ * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENOTEMPTY ` , or ` EPERM `
5020+ error is encountered, Node.js will retry the operation with a linear backoff
5021+ wait of 100ms longer on each try. This option represents the number of
5022+ retries. This option is ignored if the ` recursive ` option is not ` true ` .
5023+ ** Default:** ` 0 ` .
50275024 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
50285025 recursive mode, errors are not reported if ` path ` does not exist, and
50295026 operations are retried on failure. ** Default:** ` false ` .
0 commit comments