This commit is contained in:
邹宗楠
2022-10-17 14:06:23 +08:00
parent 0695aa132c
commit 53fe97cbc1
49 changed files with 78 additions and 225 deletions

View File

@@ -223,7 +223,6 @@ 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: