MapofLife / vernacular-names

A framework for managing vernacular names in a database, along with scripts to make sense of the data
0 stars 1 forks source link

Catch the error when CartoDB times out #82

Open gaurav opened 9 years ago

gaurav commented 9 years ago

This happens all sorts of times, but is especially annoying during name additions. Catching this error would make it easier to ensure that the user didn't lose data, and could be used to send e-mails somewhere to warn someone that CartoDB appeared to be slow.

gaurav commented 9 years ago

http://stackoverflow.com/questions/5554100/google-appengine-urlfetch-timeouts-any-best-practices

gaurav commented 9 years ago

https://cloud.google.com/appengine/docs/python/requests#Python_The_request_timer

gaurav commented 9 years ago

https://cloud.google.com/appengine/articles/deadlineexceedederrors

gaurav commented 9 years ago

https://cloud.google.com/appengine/docs/python/modules/#Python_Background_threads