forked from coracle/nostrlib
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:
@@ -187,7 +187,7 @@ func (r *Relay) Connect(ctx context.Context) error {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if subscription, ok := r.Subscriptions.Load(*env.SubscriptionID); !ok {
|
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
|
continue
|
||||||
} else {
|
} else {
|
||||||
func() {
|
func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user