D21790: [PendingFileQueue] Use more accurate calculation of remaining time

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Jun 14 00:22:01 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  QTime::secsTo completely ignores any fractional (sub-second) part, i.e.
  1.001 to 2.999 is a difference of 1 second, as is 1.999 to 2.001.
  
  This leads to bursts when processing the pending queue, and also makes
  testing more difficult, as the timeouts trigger with a jitter of
  +/- 1 second.

TEST PLAN
  ctest

REPOSITORY
  R293 Baloo

BRANCH
  pendingfilequeue

REVISION DETAIL
  https://phabricator.kde.org/D21790

AFFECTED FILES
  src/file/pendingfilequeue.cpp

To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190613/4154297d/attachment.html>


More information about the Kde-frameworks-devel mailing list