This commit is contained in:
Ethan Frey
2017-02-24 23:40:05 +01:00
parent 4fead237f0
commit d56cb2ab4b

View File

@ -63,7 +63,7 @@ func WaitForOneEvent(evsw types.EventSwitch,
evts, quit := make(chan events.EventData, 10), make(chan bool, 1)
// start timeout count-down
go func() {
time.Sleep(1 * time.Second)
time.Sleep(timeout)
quit <- true
}()