Skip to content

Commit ae68f00

Browse files
committed
drop old key after an hour
1 parent faab314 commit ae68f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,7 @@ export class Crypto extends EventEmitter {
19621962
this.fallbackCleanup = setTimeout(() => {
19631963
delete this.fallbackCleanup;
19641964
this.olmDevice.forgetOldFallbackKey();
1965-
}, 5*60*1000);
1965+
}, 60*60*1000);
19661966

19671967
await this.olmDevice.markKeysAsPublished();
19681968
return res;

0 commit comments

Comments
 (0)