-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit concurrent API calls #582
Conversation
@@ -15,6 +16,8 @@ import { RepoMetaData } from "../../dsl/BitBucketServerDSL" | |||
|
|||
export type APIToken = string | |||
|
|||
const limit = pLimit(25) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: open to different limits here, this is just a first shot in the dark. Not sure if this'll even fix the issue. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good enough start for me
New dependencies added: p-limitAuthor: Sindre Sorhus Description: Run multiple promise-returning & async functions with limited concurrency Homepage: https://github.com/sindresorhus/p-limit#readme
|
Created | 9 months ago |
Last Updated | 19 days ago |
License | MIT |
Maintainers | 1 |
Releases | 3 |
Direct Dependencies |
README
Installation
npm install --save @types/p-limit
Summary
This package contains type definitions for p-limit (https://github.com/sindresorhus/p-limit#readme).
Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/p-limit
Additional Details
- Last updated: Wed, 24 Jan 2018 20:07:13 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by BendingBender https://github.com/BendingBender.
Generated by 🚫 dangerJS
Dang, I wonder how you can get a null pr body, Regardlesss. Yeah, this looks good 👍 |
Merge on green - and I'll make a release |
Submitted PR from the command line with no body 😅 |
Wait does "Merge on green" only add the label automatically or also automatically merge it once CI passes? 😱 |
It does both! - https://twitter.com/orta/status/990214980871098371 |
Damnnnnn 🔥🔥🔥🔥🔥 |
Closes #580