edgi-govdata-archiving/web-monitoring-processing

DB API should have built-in retry functionality

Mr0grog opened this issue · 0 comments

The DB API should have configurable retry functionality, similar to how we support timeouts (#486). I keep writing complicated code everywhere the API gets used (e.g. for task sheet generation), and that’s really no good.

This can probably be handled by letting someone set an into or a urllib3 Retry instance, similar to how requests handles it in its HTTPAdapter class.