Browse Source

Sent Network Success Message if we receive events

tags/v0.3.4
Sarah Jamie Lewis 1 month ago
parent
commit
6c07e097df
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/plugins/networkCheck.go

+ 1
- 0
app/plugins/networkCheck.go View File

@@ -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

Loading…
Cancel
Save