diff --git a/modules/OpenSimConcurrentFlotsamAssetCache/addon-modules/OpenSimConcurrentFlotsamAssetCache/Modules/ConcurrentFlotsamAssetCache.cs b/modules/OpenSimConcurrentFlotsamAssetCache/addon-modules/OpenSimConcurrentFlotsamAssetCache/Modules/ConcurrentFlotsamAssetCache.cs index 074c84d..a5bf2ba 100644 --- a/modules/OpenSimConcurrentFlotsamAssetCache/addon-modules/OpenSimConcurrentFlotsamAssetCache/Modules/ConcurrentFlotsamAssetCache.cs +++ b/modules/OpenSimConcurrentFlotsamAssetCache/addon-modules/OpenSimConcurrentFlotsamAssetCache/Modules/ConcurrentFlotsamAssetCache.cs @@ -243,7 +243,7 @@ namespace OpenSim.Region.CoreModules.Asset private readonly object timerLock = new(); private ConcurrentDictionary> weakAssetReferences = new(); - private readonly ConcurrentDictionary> m_inflightFetches = new(); + private readonly ConcurrentDictionary> m_inflightFetches = new(); private static bool m_updateFileTimeOnCacheHit = false; @@ -842,7 +842,7 @@ namespace OpenSim.Region.CoreModules.Asset bool created = false; var lazyFetch = m_inflightFetches.GetOrAdd( id, - _ => { created = true; return new Lazy(() => FetchUpstream(id), LazyThreadSafetyMode.ExecutionAndPublication); } + _ => { created = true; return new OpenSim.Framework.Lazy(() => FetchUpstream(id), OpenSim.Framework.LazyThreadSafetyMode.ExecutionAndPublication); } ); if (!created) Interlocked.Increment(ref m_InFlightJoins);