~michihenning/thumbnailer/fix-hit-rate

« back to all changes in this revision

Viewing changes to src/thumbnailer.cpp

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2015-10-14 05:11:41 UTC
  • mfrom: (278.4.20 qt-rate-limiter)
  • Revision ID: tarmac-20151014051141-kyem0nctbyjgrczs
Moved rate limiter from QML to Qt side.
Fixed bug in libthumbnailer-qt that caused the state of completed request to not be released.
Changed stress test to test the rate limiting via Qt.

Approved by PS Jenkins bot, James Henstridge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
536
536
 
537
537
}
538
538
 
539
 
 
540
539
RequestBase::ImageData LocalThumbnailRequest::fetch(QSize const& size_hint)
541
540
{
542
541
    if (image_extractor_)