We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3872678 commit 26b1c4eCopy full SHA for 26b1c4e
src/AliasVault.Client/Main/Pages/Settings/Security/Security.razor
@@ -50,11 +50,11 @@
50
/// <returns>A task representing the asynchronous operation.</returns>
51
private async Task LoadData()
52
{
53
- // Currently with SQLite, we have to load the data sequentially as otherwise we get database locks.
54
- // When switched over to PostgreSQL, we can load the data concurrently.
55
- await TwoFactorSection!.LoadData();
56
- await QuickVaultUnlockSection!.LoadData();
57
- await SessionsSection!.LoadData();
58
- await RecentAuthLogsSection!.LoadData();
+ await Task.WhenAll(
+ TwoFactorSection!.LoadData(),
+ QuickVaultUnlockSection!.LoadData(),
+ SessionsSection!.LoadData(),
+ RecentAuthLogsSection!.LoadData()
+ );
59
}
60
0 commit comments