Skip to content
Snippets Groups Projects
Commit 356e1d55 authored by Mike Antipov's avatar Mike Antipov
Browse files

EXT-7441 FIXED Improved condition to give up fetched inventory items in...

EXT-7441 FIXED Improved condition to give up fetched inventory items in LLInventoryFetchItemsObserver

Reason: LLInventoryFetchItemsObserver is used to fetch necessary gesture items. Its logic was based on count of "inventory changed" events. In case of there was too many requests stored item UUIDSs are be removed from queue by mistake - notification can be triggered because some other item is renamed.

This issue can appear wherever LLInventoryFetchItemsObserver is used.

Fix: improved logic to make decision to give up fetching items.
 For now it bases on period while waiting items to arrive from server and a number of attempts to repeate waiting.
 This is a constants of the LLInventoryFetchItemsObserver (10 times by 10 seconds)

Tested with test case in JIRA (total count of inventory items - 13,888).

Most likely that was a reason of inventory loss (EXT-7503).

Reviewed by Brad Payne at https://codereview.productengine.com/secondlife/r/507/

--HG--
branch : product-engine
parent d1751df1
No related branches found
No related tags found
No related merge requests found
Loading
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