mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
feat: Implement throttling and retry logic in secure-fs module
- Added concurrency limiting using p-limit to prevent ENFILE/EMFILE errors. - Introduced retry logic with exponential backoff for transient file descriptor errors. - Enhanced secure-fs with new functions for configuring throttling and monitoring active/pending operations. - Added unit tests for throttling and retry logic to ensure reliability.
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
"author": "AutoMaker Team",
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"dependencies": {
|
||||
"@automaker/types": "^1.0.0"
|
||||
"@automaker/types": "^1.0.0",
|
||||
"p-limit": "^6.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.10.5",
|
||||
|
||||
Reference in New Issue
Block a user