accounts: retry remove_account multiple times on failure

When removing an account, try 60 times with 1 second sleep in between
in case removal of database files fails. This happens on Windows
platform sometimes due to a known bug in r2d2 which may result in 30
seconds delay until all connections are closed [1].

[1] https://github.com/sfackler/r2d2/issues/99
This commit is contained in:
link2xt
2022-04-17 00:00:00 +00:00
committed by holger krekel
parent 969508ae36
commit a8cf05ea5d
2 changed files with 22 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
- Take `delete_device_after` into account when calculating ephemeral loop timeout #3211
- Fix a bug where a blocked contact could send a contact request #3218
- Make sure, videochat-room-names are always URL-safe #3231
- Try removing account folder multiple times in case of failure #3229
### Changes