From 7b7cd8b15c0a67c36eb755887715230d1c0e6789 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 2 Feb 2024 14:49:27 -0600 Subject: [PATCH] autoReconnect!! --- src/pool.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pool.ts b/src/pool.ts index e3b3082..7d007eb 100644 --- a/src/pool.ts +++ b/src/pool.ts @@ -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.