Skip to content

Commit

Permalink
problem: we lose every second event
Browse files Browse the repository at this point in the history
  • Loading branch information
stanstacks authored Dec 25, 2022
1 parent 3f2c3f1 commit ab062b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relaypool.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func (r *RelayPool) addConnected(relay *Relay, policy RelayPoolPolicy) {
go func(sub *Subscription) {
for evt := range sub.Events {
eventStream <- EventMessage{Relay: relay.URL, Event: evt}
eventStream <- EventMessage{Relay: relay.URL, Event: evt}
}
}(sub)

Expand Down

0 comments on commit ab062b1

Please sign in to comment.