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() {
|
go func() {
|
||||||
data := <-ch1
|
data := <-ch1
|
||||||
observer.Notify(messages.QUEUE_DATA, data)
|
observer.Notify(messages.QUEUE_EVENT, data)
|
||||||
time.Sleep(2 * time.Second)
|
time.Sleep(2 * time.Second)
|
||||||
es.Stop()
|
es.Stop()
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user