You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like we should move the flush logic outside of the if block, similar to how done is outside the if block but logs based on the statsevery config option.
flushed, closed := h.assembler.FlushCloseOlderThan(time.Now().Add(-h.config.Timeout))
if count%h.config.Statsevery == 0 {
## Which problem is this PR solving?
We currently flush old streams as part of packet processing when a
certain number of packets have been processed. This PR moves the flush
process to a separate process using a ticker interval.
- Closes#99
## Short description of the changes
- Add new flush ticker
- Update for select to switch over each ticker and packet channel
- Remove flush processing from packet processing
## How to verify that this has the expected result
Agent should continue to run as it is - this is a maintenance
improvement.
It seems like we should move the flush logic outside of the if block, similar to how
done
is outside the if block but logs based on the statsevery config option.Originally posted by @JamieDanielson in #94 (comment)
The text was updated successfully, but these errors were encountered: