diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2022-06-07 11:42:51 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2022-06-07 12:17:15 -0700 |
commit | 7908ae701f245f6c15602b23b2073f6c0fe3fdb8 (patch) | |
tree | a7623d7967114764919729d9ac6d77a8c870693a /indra/cmake/LLCharacter.cmake | |
parent | a562f6fe51a527a66884a0919d217ebb42270cc0 (diff) |
SL-17489: Fix map tile log spam and resulting excessive invalid texture requests.
This was affecting map tiles that the agent is not allowed to see (HTTP error: 403 forbidden). The URLs of these map tile requests were then getting cleared, so when these map tiles were re-requested (up to 10 times per second, from LLViewerFetchedTexture::updateFetch), the request would use the wrong URL and get a 404.
Stay in DONE state if there is no new work to do, reducing unneeded requests for textures while leaving open the possibility to re-request a texture at different resolution. Alternatively, we could introduce a new FAILED state here. The current DONE state has nuance, and can either mean "texture loading failed" or "texture successfully loaded at a certain LOD." And a 4xx error is generally irrecoverable. Will strongly consider a FAILED state.
Also, don't clear the map URL, so that any future network requests for the map textures request the correct resource.
Diffstat (limited to 'indra/cmake/LLCharacter.cmake')
0 files changed, 0 insertions, 0 deletions