diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 7e5a991c7..0bb7d3ed0 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -694,6 +694,18 @@ Found in Advanced->Rendering->Info Displays Value 1 + MarketImporterUpdateFreq + + Comment + How fast, in seconds, the Merchant Outbox will update through all phases +This should be as low as possible, but too low may break functionality + Persist + 1 + Type + F32 + Value + 60.0 + ResetFocusOnSelfClick Comment diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp index 545ad927b..47c8791c9 100644 --- a/indra/newview/llmarketplacefunctions.cpp +++ b/indra/newview/llmarketplacefunctions.cpp @@ -342,7 +342,7 @@ namespace LLMarketplaceImport // Interface class // -static const F32 MARKET_IMPORTER_UPDATE_FREQUENCY = 300.0f; //1.0f; +//static const F32 MARKET_IMPORTER_UPDATE_FREQUENCY = 300.0f; //1.0f; //static void LLMarketplaceInventoryImporter::update() @@ -353,6 +353,7 @@ void LLMarketplaceInventoryImporter::update() if (update_timer.hasExpired()) { LLMarketplaceInventoryImporter::instance().updateImport(); + static LLCachedControl MARKET_IMPORTER_UPDATE_FREQUENCY("MarketImporterUpdateFreq", 10.0f); update_timer.setTimerExpirySec(MARKET_IMPORTER_UPDATE_FREQUENCY); } }