This commit is contained in:
gazebo
2019-04-27 16:06:39 +08:00
parent dbd9e3a3d2
commit e73eb78710
2 changed files with 2 additions and 1 deletions

View File

@@ -223,6 +223,7 @@ func (e *EventHub) GetEvent(eventCategory string, eventTypeList []string, criter
}
}
}
globals.SugarLogger.Debugf("GetEvent pollingDuration:%d seconds", pollingDuration/time.Second)
timer := time.NewTimer(pollingDuration)
select {
case tmpEvent, ok := <-notifyChan: