Skip to content

Replace bluebird dependency with smaller es6-promise library. #7

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

Closed
wants to merge 1 commit into from

Conversation

mikeproeng37
Copy link
Contributor

@haleybash-optimizely @aliabbasrizvi @delikat @vignesh-optimizely @wangjoshuah @jophde

This reduces the size of our minified bundle from 180kb to 113kb.

@haleybash-optimizely
Copy link
Contributor

Could we make a devel branch to merge all changes not yet in the latest SDK version @mikeng13?

@mikeproeng37 mikeproeng37 deleted the mng/replace-bluebird branch September 21, 2016 22:09
jordangarcia pushed a commit that referenced this pull request Jan 25, 2019
mjc1283 added a commit that referenced this pull request Apr 22, 2019
…s or non-success response status (#7)

Summary:

Implement an increasing delay for the next request after a response Promise is rejected, or resolved with a non-successful status.

If the configured updateInterval is greater than the calculated delay, we just use the updateInterval.

Test plan:

Added unit tests for new module backoffController. Added unit tests for httpPollingDatafileManager backoff functionality.
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.

2 participants