Reuse global locks, handle empty envelopes

This commit is contained in:
Fedor Indutny 2021-05-19 11:33:14 -07:00 committed by Scott Nonnenberg
parent 25f271e61c
commit 1f0119a7ac
5 changed files with 29 additions and 11 deletions

View file

@ -1346,7 +1346,7 @@ describe('SignalProtocolStore', () => {
const id = `${number}.1`;
const testRecord = getSessionRecord();
const lock = new Lock();
const lock = new Lock('lock');
await store.sessionTransaction(
'test',