Re: [PATCH api 1/2] Use SimplePool instead of direct relay connection

1 view
Skip to first unread message

William Casarin

unread,
Apr 24, 2025, 10:05:46 AM4/24/25
to Daniel D’Aquino, pat...@damus.io
On Wed, Apr 23, 2025 at 04:39:20PM -0700, Daniel D’Aquino wrote:
>This commit changes web_auth.js to use `SimplePool` instead of direct
>relay objects, as recommended by the `nostr-tools` documentation, to
>handle relay connections more automatically and prevent issues such as
>errors due to the connection getting closed, or other such relay pool
>management responsibilities.
>
>Closes: https://github.com/damus-io/website/issues/42
>Signed-off-by: Daniel D’Aquino <dan...@daquino.me>
>---

LGTM
Reply all
Reply to author
Forward
0 new messages