aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-04-11 00:20:05 +0100
committerJustin Clark-Casey (justincc)2014-04-11 00:29:06 +0100
commit530c86335d637ed72411c1161c89ece166160586 (patch)
tree13b8db0239ebdd5d070b4777aefb083857505540 /OpenSim/Data
parentBulletSim: small tweek to avatar height reduce feet embedded into prims. (diff)
downloadopensim-SC_OLD-530c86335d637ed72411c1161c89ece166160586.zip
opensim-SC_OLD-530c86335d637ed72411c1161c89ece166160586.tar.gz
opensim-SC_OLD-530c86335d637ed72411c1161c89ece166160586.tar.bz2
opensim-SC_OLD-530c86335d637ed72411c1161c89ece166160586.tar.xz
Fix the presence info caching used in llRequestAgentData(), which was completely inoperative.
This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/Null/NullPresenceData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/Null/NullPresenceData.cs b/OpenSim/Data/Null/NullPresenceData.cs
index b85b95e..aff0b0b 100644
--- a/OpenSim/Data/Null/NullPresenceData.cs
+++ b/OpenSim/Data/Null/NullPresenceData.cs
@@ -40,7 +40,7 @@ namespace OpenSim.Data.Null
40 { 40 {
41// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 41// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
42 42
43 private static NullPresenceData Instance; 43 public static NullPresenceData Instance;
44 44
45 Dictionary<UUID, PresenceData> m_presenceData = new Dictionary<UUID, PresenceData>(); 45 Dictionary<UUID, PresenceData> m_presenceData = new Dictionary<UUID, PresenceData>();
46 46