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 047e654 commit 1a6e382Copy full SHA for 1a6e382
crates/matrix-sdk-crypto/src/store/locks.rs
@@ -119,8 +119,8 @@ impl CryptoStoreLock {
119
// max_backoff.
120
let wait = self.backoff;
121
122
- // If we've set the sentinel value before, that means this wait would be longer than
123
- // the max backoff, so abort.
+ // If we've set the sentinel value before, that means this wait would be longer
+ // than the max backoff, so abort.
124
if wait == u32::MAX {
125
// We've reached the maximum backoff, abandon.
126
return Err(LockStoreError::LockTimeout.into());
0 commit comments