stop halting at EOSE.

This commit is contained in:
fiatjaf 2022-11-16 10:05:28 -03:00
parent 14e81a756a
commit 7538f1108d
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -220,7 +220,7 @@ func (r *Relay) subscribe(id string, filters Filters) *Subscription {
conn: r.Connection,
id: id,
Events: make(chan Event),
EndOfStoredEvents: make(chan struct{}),
EndOfStoredEvents: make(chan struct{}, 1),
}
r.subscriptions.Store(sub.id, &sub)