autoReconnect!!

This commit is contained in:
Alex Gleason 2024-02-02 14:49:27 -06:00
parent ae6c0e712b
commit 7b7cd8b15c
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ const worker = new Worker('https://unpkg.com/nostr-relaypool@0.6.30/lib/nostr-re
// @ts-ignore Wrong types.
const pool = new RelayPoolWorker(worker, activeRelays, {
autoReconnect: true,
// The pipeline verifies events.
skipVerification: true,
// The logging feature overwhelms the CPU and creates too many logs.