aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2015-06-04 07:10:06 -0700
committerDiva Canto2015-06-04 07:10:06 -0700
commita433a409808300f81cc1b9f429d6ab4c2b34c6f0 (patch)
tree0174bd0c4c4dfd71efa1257c44830b1f0b4cf0e8 /OpenSim
parentMantis #7567. Once again, avoiding prefetching linked items within linked fo... (diff)
downloadopensim-SC-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.zip
opensim-SC-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.tar.gz
opensim-SC-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.tar.bz2
opensim-SC-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.tar.xz
Making the inventory cache static, so that there's less timers.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
index 33ec485..fde5f4b 100644
--- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
@@ -63,7 +63,7 @@ namespace OpenSim.Services.Connectors
63 private int m_requestTimeoutSecs = -1; 63 private int m_requestTimeoutSecs = -1;
64 64
65 private const double CACHE_EXPIRATION_SECONDS = 8.0; 65 private const double CACHE_EXPIRATION_SECONDS = 8.0;
66 private ExpiringCache<UUID, InventoryItemBase> m_ItemCache = new ExpiringCache<UUID,InventoryItemBase>(); 66 private static ExpiringCache<UUID, InventoryItemBase> m_ItemCache = new ExpiringCache<UUID,InventoryItemBase>();
67 67
68 public XInventoryServicesConnector() 68 public XInventoryServicesConnector()
69 { 69 {