Fix random watch errors

This commit is contained in:
Manuel de Brito Fontes 2017-07-26 22:30:22 -04:00
parent 16a213c076
commit dbe1880f60
2 changed files with 6 additions and 5 deletions

View file

@ -26,7 +26,7 @@ import (
func prepareTimeout() chan bool {
timeoutChan := make(chan bool, 1)
go func() {
time.Sleep(1 * time.Second)
time.Sleep(500 * time.Millisecond)
timeoutChan <- true
}()
return timeoutChan