mbrenig / SheetSync

A python library to create, update and delete rows of data in a google spreadsheet.
http://sheetsync.readthedocs.org
MIT License
48 stars 18 forks source link

exponential backoff #2

Closed blakehawkins closed 9 years ago

blakehawkins commented 10 years ago

This small changes adds exponential backoff to the _flush_writes method. It is hard-coded to fail after 10 retries (about 30 minutes) - this should probably be refactored into an optional input parameter.

This is also my first pull request, so I apologize if there's something wrong here (I don't know how to unstage the LICENSE/README)

If merging this is a hassle I can just send you the code. Cheers.