mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +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