@@ -3225,7 +3225,8 @@ changes:
3225
3225
description: The `maxBusyTries` option is renamed to `maxRetries`, and its
3226
3226
default is 0. The `emfileWait` option has been removed, and
3227
3227
`EMFILE` errors use the same retry logic as other errors. The
3228
- `retryDelay` option is now supported.
3228
+ `retryDelay` option is now supported. `ENFILE` errors are now
3229
+ retried.
3229
3230
- version: v12.10.0
3230
3231
pr-url: https://github.com/nodejs/node/pull/29168
3231
3232
description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -3248,11 +3249,11 @@ changes:
3248
3249
3249
3250
* ` path ` {string|Buffer|URL}
3250
3251
* ` options ` {Object}
3251
- * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENOTEMPTY ` , or ` EPERM `
3252
- error is encountered, Node.js will retry the operation with a linear backoff
3253
- wait of ` retryDelay ` ms longer on each try. This option represents the number
3254
- of retries. This option is ignored if the ` recursive ` option is not ` true ` .
3255
- ** Default:** ` 0 ` .
3252
+ * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENFILE ` , ` ENOTEMPTY ` , or
3253
+ ` EPERM ` error is encountered, Node.js will retry the operation with a linear
3254
+ backoff wait of ` retryDelay ` ms longer on each try. This option represents the
3255
+ number of retries. This option is ignored if the ` recursive ` option is not
3256
+ ` true ` . ** Default:** ` 0 ` .
3256
3257
* ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
3257
3258
recursive mode, errors are not reported if ` path ` does not exist, and
3258
3259
operations are retried on failure. ** Default:** ` false ` .
@@ -3277,7 +3278,8 @@ changes:
3277
3278
description: The `maxBusyTries` option is renamed to `maxRetries`, and its
3278
3279
default is 0. The `emfileWait` option has been removed, and
3279
3280
`EMFILE` errors use the same retry logic as other errors. The
3280
- `retryDelay` option is now supported.
3281
+ `retryDelay` option is now supported. `ENFILE` errors are now
3282
+ retried.
3281
3283
- version: v12.10.0
3282
3284
pr-url: https://github.com/nodejs/node/pull/29168
3283
3285
description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -3292,8 +3294,9 @@ changes:
3292
3294
3293
3295
* ` path ` {string|Buffer|URL}
3294
3296
* ` options ` {Object}
3295
- * ` maxRetries ` {integer} If an ` EBUSY ` , ` ENOTEMPTY ` , or ` EPERM ` error is
3296
- encountered, Node.js will retry the operation. This option represents the
3297
+ * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENFILE ` , ` ENOTEMPTY ` , or
3298
+ ` EPERM ` error is encountered, Node.js will retry the operation with a linear
3299
+ backoff wait of ` retryDelay ` ms longer on each try. This option represents the
3297
3300
number of retries. This option is ignored if the ` recursive ` option is not
3298
3301
` true ` . ** Default:** ` 0 ` .
3299
3302
* ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
@@ -5014,7 +5017,8 @@ changes:
5014
5017
description: The `maxBusyTries` option is renamed to `maxRetries`, and its
5015
5018
default is 0. The `emfileWait` option has been removed, and
5016
5019
`EMFILE` errors use the same retry logic as other errors. The
5017
- `retryDelay` option is now supported.
5020
+ `retryDelay` option is now supported. `ENFILE` errors are now
5021
+ retried.
5018
5022
- version: v12.10.0
5019
5023
pr-url: https://github.com/nodejs/node/pull/29168
5020
5024
description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -5025,11 +5029,11 @@ changes:
5025
5029
5026
5030
* ` path ` {string|Buffer|URL}
5027
5031
* ` options ` {Object}
5028
- * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENOTEMPTY ` , or ` EPERM `
5029
- error is encountered, Node.js will retry the operation with a linear backoff
5030
- wait of ` retryDelay ` ms longer on each try. This option represents the number
5031
- of retries. This option is ignored if the ` recursive ` option is not ` true ` .
5032
- ** Default:** ` 0 ` .
5032
+ * ` maxRetries ` {integer} If an ` EBUSY ` , ` EMFILE ` , ` ENFILE ` , ` ENOTEMPTY ` , or
5033
+ ` EPERM ` error is encountered, Node.js will retry the operation with a linear
5034
+ backoff wait of ` retryDelay ` ms longer on each try. This option represents the
5035
+ number of retries. This option is ignored if the ` recursive ` option is not
5036
+ ` true ` . ** Default:** ` 0 ` .
5033
5037
* ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
5034
5038
recursive mode, errors are not reported if ` path ` does not exist, and
5035
5039
operations are retried on failure. ** Default:** ` false ` .
0 commit comments