event stop add

This commit is contained in:
geek 2017-05-11 18:56:57 +09:00
parent b55a51bf07
commit eab0875306

View File

@ -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()
}()