HaikuDepot: Disable System Pkg Updates

HaikuDepot reacts to changes in packages installed in the
running system, but is currently reloading everything
which is too slow with the quantity of data involved.
Short term; disable this function in this commit so the
application can be used and then come back to it later
with a better solution.

Relates to #15879

Change-Id: I96a17c01e8b1ae1443fb6242a5b53a22b1e44416
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2483
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Andrew Lindesay 2020-04-16 22:29:32 +12:00
parent ea3b792b82
commit 5ad0160882

View File

@ -319,9 +319,12 @@ MainWindow::MessageReceived(BMessage* message)
break;
case B_PACKAGE_UPDATE:
// TODO: We should do a more selective update depending on the
// "event", "location", and "change count" fields!
_StartBulkLoad(false);
// TODO: see ticket #15879
// work needs to be done here to selectively update package data in
// the running HaikuDepot application when there are changes on the
// system. There is now too much data to just load everything when
// there is a change.
//_StartBulkLoad(false);
break;
case MSG_REFRESH_REPOS: