Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1509·nsq

"channel.ctx.nsqd.Notify(c)" should after "t.channelMap[channelName] = channel",

Author: penghuazhouCreated Mar 16, 2025Updated May 25, 2025

"channel.ctx.nsqd.Notify(c)" should after "t.channelMap[channelName] = channel", otherwise perhaps it will not update channel to disk.

c.nsqd.Notify(c, !c.ephemeral)

https://github.com/nsqio/nsq/blob/3103474b6c5afe8feca0a598797e82c06ed726e3/nsqd/topic.go#L125

Source: nsqio/nsq

View original on GitHubView discussion on GitHub