1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-03 17:13:50 +00:00

delay for 1s on SyncIfNeeded

This commit is contained in:
Kyle Spearrin
2019-08-12 09:35:18 -04:00
parent 325b557506
commit c9d6f58563
2 changed files with 1 additions and 12 deletions

View File

@@ -369,6 +369,7 @@ namespace Bit.App
var lastSync = await _syncService.GetLastSyncAsync();
if(lastSync == null || ((DateTime.UtcNow - lastSync) > TimeSpan.FromMinutes(30)))
{
await Task.Delay(1000);
await _syncService.FullSyncAsync(false);
}
});