DescriptionFix the limit for the debug-log calls.
Unbeknownst to me, the filter method was being called
during the backlog iteration as well. This fix introduces
a callback that the tailer calls when it starts the forward
filtering.
This allows us to count the filter calls only when the
filter is being called to write out the results. We cannot
count the write calls because the tailer uses buffered i/o
there.
https://code.launchpad.net/~thumper/juju-core/fix-backlog-limits/+merge/215333
Requires: https://code.launchpad.net/~thumper/juju-core/debug-log-api/+merge/215323
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix the limit for the debug-log calls. #
Total comments: 7
MessagesTotal messages: 7
|