mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Add p-queue timeouts; fix search crash; improve promise rejection logging
This commit is contained in:
committed by
Josh Perez
parent
9f9ce91a9c
commit
bc3b61db1d
@@ -147,9 +147,9 @@ class MessageReceiverInner extends EventTarget {
|
||||
10
|
||||
);
|
||||
|
||||
this.incomingQueue = new PQueue({ concurrency: 1 });
|
||||
this.pendingQueue = new PQueue({ concurrency: 1 });
|
||||
this.appQueue = new PQueue({ concurrency: 1 });
|
||||
this.incomingQueue = new PQueue({ concurrency: 1, timeout: 1000 * 60 * 2 });
|
||||
this.pendingQueue = new PQueue({ concurrency: 1, timeout: 1000 * 60 * 2 });
|
||||
this.appQueue = new PQueue({ concurrency: 1, timeout: 1000 * 60 * 2 });
|
||||
|
||||
this.cacheAddBatcher = createBatcher<CacheAddItemType>({
|
||||
wait: 200,
|
||||
|
||||
Reference in New Issue
Block a user