From a80965425bf2969a074a1f55ac1e7ef784af27cf Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 9 Jun 2023 13:49:27 -0300 Subject: [PATCH] comment out info log for when we get an event outside of a subscription. relays will often keep sending stored events even though we've closed a subscription already. --- relay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay.go b/relay.go index 1c3e13a..b6f7985 100644 --- a/relay.go +++ b/relay.go @@ -187,7 +187,7 @@ func (r *Relay) Connect(ctx context.Context) error { continue } if subscription, ok := r.Subscriptions.Load(*env.SubscriptionID); !ok { - InfoLogger.Printf("{%s} no subscription with id '%s'\n", r.URL, *env.SubscriptionID) + // InfoLogger.Printf("{%s} no subscription with id '%s'\n", r.URL, *env.SubscriptionID) continue } else { func() {