fix: resolve decryption timeouts and listener warnings

Increases NIP-07 concurrency to 3 and lowers priority for non-critical decryption tasks to prevent blocklist timeouts. Increases relay max listeners to 200 to mitigate warnings.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-06 02:00:56 +00:00
1 parent b8143435a3
commit 849e00a2ff
5 files changed
+22 -16

No files matched your search

+2 -2
View File
@@ -970,7 +970,7 @@ class SubscriptionsManager {
// loads get more time because the user may be approving a popup.
const nip07DecryptTimeoutMs = allowPermissionPrompt ? 15000 : 5000;
const signerDecryptOptions = {
priority: NIP07_PRIORITY.HIGH,
priority: NIP07_PRIORITY.NORMAL,
timeoutMs: nip07DecryptTimeoutMs,
retryMultiplier: 1,
};
@@ -992,7 +992,7 @@ class SubscriptionsManager {
if (nostrApi) {
const decrypterOptions = {
priority: NIP07_PRIORITY.HIGH,
priority: NIP07_PRIORITY.NORMAL,
timeoutMs: nip07DecryptTimeoutMs,
retryMultiplier: 1,
};