[Extractor] Better balance idle and busy mode
ClosedPublic

Authored by bruns on Apr 15 2020, 10:24 PM.

Details

Summary

Add an additional delay of 500ms after each batch when the computer is
in use. Skip any delay if the file has not been indexed.

Reduce the idle timeout to 1 minute, which is sufficient as the idle
monitoring now actually works.

This reduces the continous load (most importantly I/O) while the computer
is used, and allows to make fast progress when the system is idle.

Depends on D28863

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Apr 15 2020, 10:24 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 15 2020, 10:24 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 15 2020, 10:24 PM
bruns updated this revision to Diff 80296.Apr 16 2020, 4:59 PM

Extend commit message, reduce idle timeout

Can you explain the conceptual reasoning behind this change?

bruns updated this revision to Diff 80297.Apr 16 2020, 5:03 PM
bruns edited the summary of this revision. (Show Details)

extend summary

ngraham accepted this revision.Apr 16 2020, 5:07 PM

Thanks, makes sense to me!

This revision is now accepted and ready to land.Apr 16 2020, 5:07 PM
This revision was automatically updated to reflect the committed changes.