diff options
author | Justin Clark-Casey (justincc) | 2010-06-04 20:44:01 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-06-04 20:44:01 +0100 |
commit | f319d2ef5e4ef73b081036f7778329858586a07a (patch) | |
tree | 8e1338af08d784e9201dbaafb31254b16b586c3f /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | get TestSaveIarV0_1() working again by setting up an OpenSim.Data.Null.UserAu... (diff) | |
parent | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-f319d2ef5e4ef73b081036f7778329858586a07a.zip opensim-SC_OLD-f319d2ef5e4ef73b081036f7778329858586a07a.tar.gz opensim-SC_OLD-f319d2ef5e4ef73b081036f7778329858586a07a.tar.bz2 opensim-SC_OLD-f319d2ef5e4ef73b081036f7778329858586a07a.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/UserAccountCache.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/UserAccountCache.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/UserAccountCache.cs index a355661..e1bc243 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/UserAccountCache.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/UserAccountCache.cs | |||
@@ -44,10 +44,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts | |||
44 | 44 | ||
45 | public UserAccountCache() | 45 | public UserAccountCache() |
46 | { | 46 | { |
47 | // Warning: the size values are a bit fuzzy. What matters | ||
48 | // most for this cache is the count value (128 entries). | ||
49 | m_UUIDCache = new ExpiringCache<UUID, UserAccount>(); | 47 | m_UUIDCache = new ExpiringCache<UUID, UserAccount>(); |
50 | m_NameCache = new ExpiringCache<string, UUID>(); // this one is unbound | 48 | m_NameCache = new ExpiringCache<string, UUID>(); |
51 | } | 49 | } |
52 | 50 | ||
53 | public void Cache(UUID userID, UserAccount account) | 51 | public void Cache(UUID userID, UserAccount account) |