Tweak retry time
Summary of changes proposed in this Pull Request:
- This increases the min wait time for retry from 100ms to 375ms as the previous value caused more problems than it solved (increased contention and likelihood of transaction failure)
- The value is now overridable through the
_initial_wait
kwarg.
This is a stop-gap improvement as retry()
needs a proper cleanup and tests. I haven't added documentation as the function is currently undocumented and will be undergoing API change soon so it's probably best not to advertise it too much now!
PR checklist:
-
Updated relevant documentation -
Updated CHANGELOG.md -
Added tests for my change