summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2015-02-21 18:41:54 -0800
committerMerov Linden <merov@lindenlab.com>2015-02-21 18:41:54 -0800
commit0177f56fc92536b7fe0c8139ae1e081fd09eacfe (patch)
tree833ac429fdf8921ceb74a38f9aab195ffe06a802 /indra/newview/llinventoryfunctions.cpp
parent9ce64ec527f7b49b1641753ce6e67b8ed7f603c7 (diff)
DD-335 : Improve the performance of Get listings by 400%, fix a bug when error occured on SLM
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rwxr-xr-xindra/newview/llinventoryfunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 02c4d76a13..3939281d0a 100755
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -274,7 +274,7 @@ void update_marketplace_category(const LLUUID& cur_uuid, bool perform_consistenc
}
// Check if the count on hand needs to be updated on SLM
- if (!LLMarketplaceData::instance().isUpdating(listing_uuid) &&
+ if (perform_consistency_enforcement && !LLMarketplaceData::instance().isUpdating(listing_uuid) &&
(compute_stock_count(listing_uuid) != LLMarketplaceData::instance().getCountOnHand(listing_uuid)))
{
LLMarketplaceData::instance().updateCountOnHand(listing_uuid);