summaryrefslogtreecommitdiff
path: root/man/systemd.timer.xml
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-12-19 15:05:30 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-12-19 15:37:10 +0100
commit487d37209b30a536636c95479cfeba931fea25c5 (patch)
tree50652620030ff521d9744d6bd45e806eb2e0da20 /man/systemd.timer.xml
parentbfcdba8d565041275319e5b1605c543d243ad7c4 (diff)
journal: fix skipping of duplicate entries in iteration
I accidentally broke the detection of duplicate entries in 7943f42275 "journal: optimize iteration by returning previously found candidate entry". When we have a known location of a candidate entry, we must not return from next_beyond_location() immediately. We must go through the duplicates detection to make sure the candidate differs from the already iterated entry. This fix slows down iteration a bit, but it's still faster than it was before the rework. $ time ./journalctl --since=2014-06-01 --until=2014-07-01 > /dev/null real 0m4.448s user 0m4.298s sys 0m0.149s (Compare with results from commit 7943f42275, where real was 5.3s before the rework.)
Diffstat (limited to 'man/systemd.timer.xml')
0 files changed, 0 insertions, 0 deletions