Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions indra/newview/llaisapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,11 @@ void AISUpdate::doUpdate()
// fetching can receive massive amount of items and folders
if (gInventory.getChangedIDs().size() > MAX_UPDATE_BACKLOG)
{
gInventory.notifyObservers();
LLAppViewer::instance()->postToMainCoro(
[]()
{
gInventory.notifyObservers();
});
checkTimeout();
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
Expand Down Expand Up @@ -1744,7 +1748,11 @@ void AISUpdate::doUpdate()
// fetching can receive massive amount of items and folders
if (gInventory.getChangedIDs().size() > MAX_UPDATE_BACKLOG)
{
gInventory.notifyObservers();
LLAppViewer::instance()->postToMainCoro(
[]()
{
gInventory.notifyObservers();
});
checkTimeout();
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
Expand Down Expand Up @@ -1815,6 +1823,10 @@ void AISUpdate::doUpdate()

checkTimeout();

gInventory.notifyObservers();
LLAppViewer::instance()->postToMainCoro(
[]()
{
gInventory.notifyObservers();
});
}