Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

attempt at fixing race resulting in multiple in flight #34

Merged
merged 1 commit into from
Dec 18, 2017

Conversation

evq
Copy link
Contributor

@evq evq commented Dec 18, 2017

@mrose17 would this work as a way to fix the race that can result in multiple calls to _publishersInfo in flight simultaneously?

@evq evq requested a review from mrose17 December 18, 2017 21:18
@mrose17 mrose17 merged commit be9a300 into prepare-for-batch-verified-updates Dec 18, 2017
@mrose17 mrose17 deleted the batch-race branch December 18, 2017 23:26
mrose17 added a commit that referenced this pull request Dec 19, 2017
* 2.0.5: add Client.prototype.publishersInfo

For future use of batched REST call

* Ensure that at most one _publishersInfo is active...

…regardless of the number of alls to `publishersInfo`

* Consistent style

* attempt at fixing race resulting in multiple in flight (#34)

LGTM.

* All new edits!

- Have up to 4 concurrent retrievals

- Handle 429 responses

- Extra check in `retrytrip` in case we never get a `response` object
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.

2 participants