mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-14 01:37:45 +00:00
If the connection to the database is refused, it is not helpfull to hammer it with connection attempts, instead we should wait a bit before connecting again. Here we start waiting 10ms, doubling the wait time for every attempt before setteling out at 2s