-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: lazy content loading for LogFileOutput
- RHINENG-13810 By re-writing the _handle_content and parser_content of the LogFileOutput, implement a lazy content loading (or postpone the content loading to `lines` being called the first time). This change won't affect any existing usage of the LogFileOutput and its child Parsers. But it's useful for CCX rules which will load thousands of log files for a same Spec in one must-gather or insights-operator archive. Signed-off-by: Xiangce Liu <[email protected]>
- Loading branch information
Showing
1 changed file
with
83 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters