HaikuDepot: User Rating Model & Calc - Disable

A recent change was merged prematurely before
the server component was rolled out. This
will disable the change with some side-effects
but can be easily re-instated once 1.0.166 of
the server is deployed.

Change-Id: Idbd429a94e63cbe401b85698f82fe027d6212854
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8471
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
This commit is contained in:
Andrew Lindesay 2024-10-19 22:17:58 +13:00
parent 1258c87bda
commit e8dafa5f1a

View File

@ -191,6 +191,8 @@ PopulatePkgUserRatingsFromServerProcess::RunInternal()
// not just based on the user-ratings downloaded; it is calculated according
// to an algorithm. This is best executed server-side to avoid discrepancy.
// TODO; re-enable this logic when HDS version 1.0.166 is released.
/*
BMessage summaryResponse;
if (status == B_OK) {
@ -272,6 +274,7 @@ PopulatePkgUserRatingsFromServerProcess::RunInternal()
} else {
ServerHelper::NotifyTransportError(status);
}
*/
if (status == B_OK) {
// TODO; later make the PackageInfo immutable to avoid the need for locking here.