event stop add
This commit is contained in:
parent
b55a51bf07
commit
eab0875306
|
@ -59,7 +59,7 @@ func handleInit(ch chan interface{}, ch1 chan interface{}) {
|
|||
|
||||
go func() {
|
||||
data := <-ch1
|
||||
observer.Notify(messages.QUEUE_DATA, data)
|
||||
observer.Notify(messages.QUEUE_EVENT, data)
|
||||
time.Sleep(2 * time.Second)
|
||||
es.Stop()
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue
Block a user