EventsProcessor of Insights package filters out event in package by acceptance condition (event was captured not longer than 4 days ago).
If all events in the package don't satisfy this condition, an empty payload will be sent.
This PR adds a check to avoid useless network calls in this case.
Result
No network call happens if no event satisfy the acceptance criteria
Summary
EventsProcessor
ofInsights
package filters out event in package by acceptance condition (event was captured not longer than 4 days ago). If all events in the package don't satisfy this condition, an empty payload will be sent. This PR adds a check to avoid useless network calls in this case.Result
No network call happens if no event satisfy the acceptance criteria