aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorJohn Hurliman2010-09-07 15:45:33 -0700
committerJohn Hurliman2010-09-07 15:45:33 -0700
commit0bebe94231c3b5aeaa24a0eeb38272a08b73473b (patch)
treee653cafb4afce7aed0e86d267fba346200533510 /OpenSim/Services
parent* Cache null account responses in the SimianUserAccountServiceConnector to av... (diff)
downloadopensim-SC_OLD-0bebe94231c3b5aeaa24a0eeb38272a08b73473b.zip
opensim-SC_OLD-0bebe94231c3b5aeaa24a0eeb38272a08b73473b.tar.gz
opensim-SC_OLD-0bebe94231c3b5aeaa24a0eeb38272a08b73473b.tar.bz2
opensim-SC_OLD-0bebe94231c3b5aeaa24a0eeb38272a08b73473b.tar.xz
Rolling back the recent libomv update but keeping the ExpiringCache cleanups (as much as is possible). There was a report of non-finite avatar positions after the update
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs
index 23f2b10..1ac9882 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs
@@ -148,7 +148,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
148 if (account == null) 148 if (account == null)
149 { 149 {
150 // Store null responses too, to avoid repeated lookups for missing accounts 150 // Store null responses too, to avoid repeated lookups for missing accounts
151 m_accountCache.AddOrUpdate(userID, null, CACHE_EXPIRATION_SECONDS); 151 m_accountCache.AddOrUpdate(userID, null, DateTime.Now + TimeSpan.FromSeconds(CACHE_EXPIRATION_SECONDS));
152 } 152 }
153 153
154 return account; 154 return account;
@@ -226,7 +226,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
226 if (success) 226 if (success)
227 { 227 {
228 // Cache the user account info 228 // Cache the user account info
229 m_accountCache.AddOrUpdate(data.PrincipalID, data, CACHE_EXPIRATION_SECONDS); 229 m_accountCache.AddOrUpdate(data.PrincipalID, data, DateTime.Now + TimeSpan.FromSeconds(CACHE_EXPIRATION_SECONDS));
230 } 230 }
231 else 231 else
232 { 232 {
@@ -291,7 +291,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
291 GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName); 291 GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName);
292 292
293 // Cache the user account info 293 // Cache the user account info
294 m_accountCache.AddOrUpdate(account.PrincipalID, account, CACHE_EXPIRATION_SECONDS); 294 m_accountCache.AddOrUpdate(account.PrincipalID, account, DateTime.Now + TimeSpan.FromSeconds(CACHE_EXPIRATION_SECONDS));
295 295
296 return account; 296 return account;
297 } 297 }