@@ -3223,7 +3223,8 @@ changes:
3223
3223
- version: REPLACEME
3224
3224
pr-url: https://github.com/nodejs/node/pull/30644
3225
3225
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.
3227
3228
- version: v12.10.0
3228
3229
pr-url: https://github.com/nodejs/node/pull/29168
3229
3230
description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -3246,14 +3247,11 @@ changes:
3246
3247
3247
3248
* ` path ` {string|Buffer|URL}
3248
3249
* ` 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 ` .
3257
3255
* ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
3258
3256
recursive mode, errors are not reported if ` path ` does not exist, and
3259
3257
operations are retried on failure. ** Default:** ` false ` .
@@ -3273,7 +3271,8 @@ changes:
3273
3271
- version: REPLACEME
3274
3272
pr-url: https://github.com/nodejs/node/pull/30644
3275
3273
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.
3277
3276
- version: v12.10.0
3278
3277
pr-url: https://github.com/nodejs/node/pull/29168
3279
3278
description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -5005,7 +5004,8 @@ changes:
5005
5004
- version: REPLACEME
5006
5005
pr-url: https://github.com/nodejs/node/pull/30644
5007
5006
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.
5009
5009
- version: v12.10.0
5010
5010
pr-url: https://github.com/nodejs/node/pull/29168
5011
5011
description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -5016,14 +5016,11 @@ changes:
5016
5016
5017
5017
* ` path ` {string|Buffer|URL}
5018
5018
* ` 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 ` .
5027
5024
* ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
5028
5025
recursive mode, errors are not reported if ` path ` does not exist, and
5029
5026
operations are retried on failure. ** Default:** ` false ` .
0 commit comments