Revision 3b0dc04...
Go back to digest for 15th July 2012Bug Fixes in KDE Base
Vishesh Handa committed changes in [kdelibs/KDE/4.9] /core:
Avoid automatic clearing of the ResourceManager cache
The current limit was hard coded and wasn't based on any real world
usage. With the new dolphin features and amarok being ported to Nepomuk,
it is very common to have more than 10k resources.
When one overcomes that number, then for each new Resource the entire
kickoff list is searched in an attempt to find ResourceData* which are
no longer being used.
Instead, now whenever a ResourceData* is no longer being used, it is
simply deleted.
REVIEW: 105516
File Changes
Modified 3 files
- /core
- nepomuk/resourcedata.cpp
- nepomuk/resourcemanager.cpp
- nepomuk/resourcemanager_p.h
3 files changed in total