新增:延时事件持久化
git-svn-id: svn://47.119.165.148/zhub@101 e63fbceb-bcc3-4977-ac22-735b83d8d0f4
This commit is contained in:
@@ -21,9 +21,10 @@ func (g *ZGroup) appendTo(c *ZConn) {
|
||||
return
|
||||
}
|
||||
|
||||
// create new goroutine consumer message
|
||||
c.substoped[topic] = make(chan int, 0)
|
||||
c.appendTo(g.conns)
|
||||
go func() { // create new goroutine consumer message
|
||||
go func() {
|
||||
for {
|
||||
select {
|
||||
case msg, ok := <-g.chMsg:
|
||||
|
||||
Reference in New Issue
Block a user