Skip to content
Snippets Groups Projects
Commit 13295abf authored by simon@Simon-PC.lindenlab.com's avatar simon@Simon-PC.lindenlab.com
Browse files

Merge

parents c52a8783 62084955
No related branches found
No related tags found
No related merge requests found
......@@ -336,13 +336,19 @@ namespace LLMarketplaceImport
// Interface class
//
static const F32 MARKET_IMPORTER_UPDATE_FREQUENCY = 1.0f;
//static
void LLMarketplaceInventoryImporter::update()
{
if (instanceExists())
{
LLMarketplaceInventoryImporter::instance().updateImport();
static LLTimer update_timer;
if (update_timer.hasExpired())
{
LLMarketplaceInventoryImporter::instance().updateImport();
update_timer.setTimerExpirySec(MARKET_IMPORTER_UPDATE_FREQUENCY);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment