diff options
author | Diva Canto | 2015-06-04 07:10:06 -0700 |
---|---|---|
committer | Diva Canto | 2015-06-04 07:10:06 -0700 |
commit | a433a409808300f81cc1b9f429d6ab4c2b34c6f0 (patch) | |
tree | 0174bd0c4c4dfd71efa1257c44830b1f0b4cf0e8 /OpenSim/Services | |
parent | Mantis #7567. Once again, avoiding prefetching linked items within linked fo... (diff) | |
download | opensim-SC_OLD-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.zip opensim-SC_OLD-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.tar.gz opensim-SC_OLD-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.tar.bz2 opensim-SC_OLD-a433a409808300f81cc1b9f429d6ab4c2b34c6f0.tar.xz |
Making the inventory cache static, so that there's less timers.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | 2 |
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 | { |