From a433a409808300f81cc1b9f429d6ab4c2b34c6f0 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 4 Jun 2015 07:10:06 -0700 Subject: Making the inventory cache static, so that there's less timers. --- OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Services/Connectors/Inventory') 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 private int m_requestTimeoutSecs = -1; private const double CACHE_EXPIRATION_SECONDS = 8.0; - private ExpiringCache m_ItemCache = new ExpiringCache(); + private static ExpiringCache m_ItemCache = new ExpiringCache(); public XInventoryServicesConnector() { -- cgit v1.1