kee-org / keevault2

Kee Vault 2 is a password manager for multiple devices. Password databases (Vaults) are encrypted using the KeePass storage format (KDBX) before being stored on the local device or sent to a remote server for synchronisation purposes.
https://play.google.com/store/apps/details?id=com.keevault.keevault
Other
24 stars 4 forks source link

Introduce some delays to remote service retries #10

Open luckyrat opened 2 years ago

luckyrat commented 2 years ago

In remote_service.dart: _doRequest , we automatically retry a few times if the connection fails. That sorts us for 99.9% of failures but some edge cases could still be recoverable if we were to introduce some short delays to the retry attempts, depending upon what we can estimate the cause of the failure to be.