mirror of
https://github.com/logos-messaging/logos-delivery-go.git
synced 2026-03-09 19:13:13 +00:00
fix: use buffered channel as needed by legacy_filter, filter
This commit is contained in:
parent
128999b763
commit
bf8c856bc3
@ -270,7 +270,7 @@ func (w *WakuRelay) SubscribeToTopic(ctx context.Context, topic string) (*Subscr
|
||||
// Create client subscription
|
||||
subscription := NoopSubscription()
|
||||
if w.bcaster != nil {
|
||||
subscription = w.bcaster.Register(topic)
|
||||
subscription = w.bcaster.Register(topic, 1024)
|
||||
}
|
||||
go func() {
|
||||
<-ctx.Done()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user