We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41ec697 commit 0ae4e30Copy full SHA for 0ae4e30
lib/encryption/utils/bootstrap.dart
@@ -494,12 +494,12 @@ class Bootstrap {
494
}
495
496
if (newSsssKey != null) {
497
- final storeFutures = <Future<void>>[];
+ Logs().v('Store new SSSS key entries...');
498
+ // NOTE(TheOneWithTheBraid): do not use Future.wait due to rate limits
499
+ // and token refresh trouble
500
for (final entry in secretsToStore.entries) {
- storeFutures.add(newSsssKey!.store(entry.key, entry.value));
501
+ await newSsssKey!.store(entry.key, entry.value);
502
- Logs().v('Store new SSSS key entries...');
- await Future.wait(storeFutures);
503
504
505
final keysToSign = <SignableKey>[];
0 commit comments