Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/io/memory/pubsub/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ func ProduceError(ctx api.StreamContext, topic string, err error) {
}

func doProduce(ctx api.StreamContext, topic string, data any) {
mu.RLock()
defer mu.RUnlock()
c, exists := pubTopics[topic]
if !exists {
return
}
logger := ctx.GetLogger()
mu.RLock()
defer mu.RUnlock()
// broadcast to all consumers
for name, out := range c.consumers {
select {
Expand Down
Loading