harperreed / eo-python

Electric Objects python library
http://harperreed.github.io/eo-python
MIT License
20 stars 7 forks source link

Backoff #12

Closed GaryBoone closed 8 years ago

GaryBoone commented 8 years ago

Primarily, this pull request adds retries with exponential backoff and jitter to the API requests. These are best practices that protect servers from client overload, synchronization, and request storms. I'll explain further in a documentation update to follow.

The set_url function now works! Yay!

There are several refactorings to simplify and clarify the code as well as continued improvement in error handling.