Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

fix: immediately poll when we load, don't stop polling on failure #6

Merged
merged 2 commits into from May 18, 2016

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented May 17, 2016

  1. makes the integration feel more snappy.
  2. addresses an issue our integration partners were running into (an upstream failure would cause the integration to break).

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 98.958% when pulling 7366dc7 on polling-fix into 1d3ac5a on master.

@@ -34,23 +34,23 @@ AnnotationPoller.prototype._installExtensions = function () {

AnnotationPoller.prototype.start = function (loaded) {
var _this = this
var updating = false
Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove the updating check? What happens if the interval runs while it's still waiting on a previous poll request?

@nexdrew
Copy link
Contributor

nexdrew commented May 17, 2016

How does this change the behavior when handling "an upstream failure"?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.009%) to 99.029% when pulling 116d23f on polling-fix into d440f01 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 99.065% when pulling 8eaaba3 on polling-fix into d440f01 on master.

@bcoe bcoe merged commit fe82a02 into master May 18, 2016
@nexdrew nexdrew deleted the polling-fix branch August 5, 2016 02:59
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.

None yet

3 participants