From 5d1a29d1355934d15b019c97492e47c50ab4465e Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 1 May 2022 21:11:42 -0300 Subject: [PATCH] stop closing publishstatus connection and subscriptions. I'm not sure about this but it seems to work better this way. --- relaypool.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/relaypool.go b/relaypool.go index 8be3487..c0f1892 100644 --- a/relaypool.go +++ b/relaypool.go @@ -272,8 +272,6 @@ func (r *RelayPool) PublishEvent(evt *Event) (*Event, chan PublishStatus, error) } break } - subscription.Unsub() - close(status) }(relay, conn) }