HomeClusterLabs Projects

Refactor: cts: Make journal log limit handling more efficient

Description

Refactor: cts: Make journal log limit handling more efficient

Don't bother iterating over the whole list of messages if the last
message is before the limit. They're sorted, so that implies all
messages were logged before the limit.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 23 2024, 10:03 PM
Parents
rP5b11ec7dfb3d: Doc: build: Add python-dateutil as a testing dependency
Branches
Unknown
Tags
Unknown