diff options
author | Justin Clark-Casey (justincc) | 2011-11-15 15:57:53 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-15 15:57:53 +0000 |
commit | 50803dfe2ca8818f438d740e788762e1faf1078c (patch) | |
tree | 17b06e2666f45748399539994d41d4c400f2e09f /OpenSim/Region/UserStatistics/SimStatsAJAX.cs | |
parent | refactor: Don't create a new UUID for passing uuids to client - UUIDs are str... (diff) | |
download | opensim-SC_OLD-50803dfe2ca8818f438d740e788762e1faf1078c.zip opensim-SC_OLD-50803dfe2ca8818f438d740e788762e1faf1078c.tar.gz opensim-SC_OLD-50803dfe2ca8818f438d740e788762e1faf1078c.tar.bz2 opensim-SC_OLD-50803dfe2ca8818f438d740e788762e1faf1078c.tar.xz |
For clients that are entering a simulator from initial login, stop executing FriendsModule.FetchFriendslist() asychronously.
Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated.
Changing this to synchronous may improve issues where a user does not see friends as online even though they are.
I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
Diffstat (limited to 'OpenSim/Region/UserStatistics/SimStatsAJAX.cs')
0 files changed, 0 insertions, 0 deletions