Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

fix(pLimit): add pLimit to constrain concurrent contract evaluations #106

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

dtfiedler
Copy link
Collaborator

No description provided.

@dtfiedler dtfiedler requested a review from a team as a code owner March 7, 2024 17:51
@@ -39,6 +39,7 @@
"koa-router": "^12.0.0",
"koa2-swagger-ui": "^5.10.0",
"lodash": "^4.17.21",
"p-limit": "3.1.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pinning as 4+ are pure ESM modules


const CONCURRENT_CONTRACT_EVALUATION_LIMIT = 10;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flexible here - but start with 10 and can ramp up as needed

@dtfiedler dtfiedler merged commit 217ec70 into main Mar 7, 2024
6 checks passed
@dtfiedler dtfiedler deleted the PE-5779-limit-concurrent-evaluations branch March 7, 2024 18:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants