D5638: Use a single QNAM (and a disk cache) for HTTP jobs

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Sun May 7 16:11:12 UTC 2017


leinir marked 4 inline comments as done.
leinir added inline comments.

INLINE COMMENTS

> dfaure wrote in httpworker.cpp:41
> 0.1% of the partition size is a rather arbitrary value, no? It could go from something very tiny to something really big...
> 
> On my 470GB partition this would lead to a 470MB cache for knewstuff, that's maybe a bit much, given the average size for knewstuff stuff? Maybe a qMin() call with a maximum value would be useful?

Good point yes, it's supposed to be helpful, not take over the system. I'll set a max of 50 megs, should be fine for most uses.

REPOSITORY
  R304 KNewStuff

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

To: leinir, whiting, apol, dfaure
Cc: dfaure, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170507/33190533/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list