Skip to content

Conversation

@mjc1283
Copy link
Contributor

@mjc1283 mjc1283 commented May 8, 2019

Summary

  • When autoUpdate is true, start the timer for the following request immediately, instead of waiting for the response to start the timer
  • When the timeout fires before the response is received, wait for the response to complete and then start the next request immediately. This ensures there is at most 1 request in flight at any time.

Test plan

Added new unit tests. Manually tested.

Issues

https://optimizely.atlassian.net/browse/OASIS-4628

@mjc1283 mjc1283 requested review from a team and mikeproeng37 May 8, 2019 18:36
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.58% when pulling 0c8cb48 on mcarroll/schedule-fix-simple into 27f4159 on master.

@mjc1283 mjc1283 merged commit 39c3b2d into master May 8, 2019
@mjc1283 mjc1283 deleted the mcarroll/schedule-fix-simple branch May 8, 2019 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants