Keep statistics on the number of events being sent to the server
This commit is contained in:
@ -209,7 +209,9 @@ func ProcessLocalEvent(globals AsinkGlobals, event *asink.Event) {
|
||||
}
|
||||
|
||||
//finally, send it off to the server
|
||||
StatStartSending()
|
||||
err = SendEvent(globals, event)
|
||||
StatStopSending()
|
||||
if err != nil {
|
||||
panic(err) //TODO handle sensibly
|
||||
}
|
||||
|
Reference in New Issue
Block a user