Add p-queue timeouts; fix search crash; improve promise rejection logging
This commit is contained in:
parent
9f9ce91a9c
commit
bc3b61db1d
17 changed files with 54 additions and 26 deletions
|
@ -14,9 +14,13 @@
|
|||
|
||||
// eslint-disable-next-line func-names
|
||||
(async function() {
|
||||
const eventHandlerQueue = new window.PQueue({ concurrency: 1 });
|
||||
const eventHandlerQueue = new window.PQueue({
|
||||
concurrency: 1,
|
||||
timeout: 1000 * 60 * 2,
|
||||
});
|
||||
Whisper.deliveryReceiptQueue = new window.PQueue({
|
||||
concurrency: 1,
|
||||
timeout: 1000 * 60 * 2,
|
||||
});
|
||||
Whisper.deliveryReceiptQueue.pause();
|
||||
Whisper.deliveryReceiptBatcher = window.Signal.Util.createBatcher({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue