File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ class ESLint {
746746 } ) ;
747747 const controller = new AbortController ( ) ;
748748 const retryCodes = new Set ( [ "ENFILE" , "EMFILE" ] ) ;
749- const retrier = new Retrier ( error => retryCodes . has ( error . code ) ) ;
749+ const retrier = new Retrier ( error => retryCodes . has ( error . code ) , { concurrency : 100 } ) ;
750750
751751 debug ( `${ filePaths . length } files found in: ${ Date . now ( ) - startTime } ms` ) ;
752752
@@ -830,7 +830,7 @@ class ESLint {
830830 }
831831
832832 return result ;
833- } ) )
833+ } ) , { signal : controller . signal } )
834834 . catch ( error => {
835835 controller . abort ( error ) ;
836836 throw error ;
Original file line number Diff line number Diff line change 106106 "@eslint/plugin-kit" : " ^0.2.0" ,
107107 "@humanfs/node" : " ^0.16.6" ,
108108 "@humanwhocodes/module-importer" : " ^1.0.1" ,
109- "@humanwhocodes/retry" : " ^0.3.1 " ,
109+ "@humanwhocodes/retry" : " ^0.4.0 " ,
110110 "@types/estree" : " ^1.0.6" ,
111111 "@types/json-schema" : " ^7.0.15" ,
112112 "ajv" : " ^6.12.4" ,
You can’t perform that action at this time.
0 commit comments