OpenSim-NGC / OpenSim-Sasquatch

OpenSim Core ++. Provides Bug Fixes and some new ideas that enhance the reliability and performance of OpenSim Core Yeti.
Other
22 stars 13 forks source link

Speed up and delegate Group Notifications #47

Open renevega opened 1 year ago

renevega commented 1 year ago

Back in 2020105 NGC I modified the group notifications code to mitigate a problem when notifications are sent to groups that have many HG visitors to grids that are mostly offline. Previous to the change, chat was severely lagged, TPs in or out of the region were stalled, and money transactions were stalled for the duration of the myriad 30 seconds timeouts for each offline grid. The mitigation was to drop the timeouts to 2 seconds. Notifications could stall over 5 minutes.

This is a placeholder to do a proper fix to group notices. Notice operations need to be queued to a delegate thread to move all that synchronous activity off the UI thread.