jdelic / django-dbconn-retry

Patches Django to reconnect on a failed database connection once before failing. Helping with running Django ORM through HAProxy, for example.
BSD 3-Clause "New" or "Revised" License
75 stars 25 forks source link

Allow setting max retries on the settings #39

Open dwjorgeb opened 1 year ago

dwjorgeb commented 1 year ago

Allowing to set the number of retries on settings.py is useful to allow to retry more than once in some specific scenarios, especially when there's some temporary DNS errors

coveralls commented 4 months ago

Coverage Status

coverage: 96.97% (+0.07%) from 96.899% when pulling 899b75c52b13d1e9927f38846713f675f7545c90 on dwjorgeb:master into 3f38648a6db5f81962abc89e2df9da234f3e221f on jdelic:master.