- fk
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user