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.
This commit is contained in:
fiatjaf 2023-06-09 13:49:27 -03:00
parent bc783a3a24
commit a80965425b
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -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() {