Sent Network Success Message if we receive events
the build was successful 详情

这个提交包含在:
Sarah Jamie Lewis 2019-11-04 11:46:59 -08:00 提交者 Gogs
父节点 f832b44f9e
当前提交 6c07e097df
共有 1 个文件被更改,包括 1 次插入0 次删除

查看文件

@ -54,6 +54,7 @@ func (nc *networkCheck) run() {
// through other actions
// we reset out timer
lastMessageReceived = time.Now()
nc.bus.Publish(event.NewEvent(event.NetworkStatus, map[event.Field]string{event.Error: "", event.Status: "Success"}))
}
case <-time.After(tickTime):
// if we haven't received an action in the last minute...kick off a set of testing