Give recipient resolves their own thread pool.
This commit is contained in:
parent
ef85b29ddf
commit
dc095c9db4
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public final class LiveRecipientCache {
|
|||
this.warmedUp = new AtomicBoolean(false);
|
||||
this.localRecipientId = new AtomicReference<>(null);
|
||||
this.unknown = new LiveRecipient(context, Recipient.UNKNOWN);
|
||||
this.resolveExecutor = ThreadUtil.trace(new FilteredExecutor(SignalExecutors.BOUNDED, () -> !SignalDatabase.inTransaction()));
|
||||
this.resolveExecutor = ThreadUtil.trace(new FilteredExecutor(SignalExecutors.newCachedBoundedExecutor("signal-recipients", 1, 4, 15), () -> !SignalDatabase.inTransaction()));
|
||||
}
|
||||
|
||||
@AnyThread
|
||||
|
|
Loading…
Add table
Reference in a new issue