[TimeEstimator] Correct batch size, remove config reference
ClosedPublic

Authored by bruns on Tue, Mar 24, 8:41 PM.

Details

Summary

Using a fixed batch size is wrong, as the contentIndexer may process
smaller batches, e.g after content indexing failed, or more typically
when the indexer is idle and only has to update single/some files.

Instead of storing the total batch time in the history store the per
file average time.

As there is no longer any config dependency remove it.

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.Tue, Mar 24, 8:41 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptTue, Mar 24, 8:41 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Tue, Mar 24, 8:41 PM
bruns updated this revision to Diff 78418.Wed, Mar 25, 12:14 AM

whitespace

ngraham accepted this revision.Wed, Mar 25, 4:13 PM
This revision is now accepted and ready to land.Wed, Mar 25, 4:13 PM
This revision was automatically updated to reflect the committed changes.