mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Use the more efficient HashSet instead of List for FlotasmAssetCache.m_CurrentlyWriting
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Flotsam.RegionModules.AssetCache
|
|||||||
private Dictionary<string, ManualResetEvent> m_CurrentlyWriting = new Dictionary<string, ManualResetEvent>();
|
private Dictionary<string, ManualResetEvent> m_CurrentlyWriting = new Dictionary<string, ManualResetEvent>();
|
||||||
private int m_WaitOnInprogressTimeout = 3000;
|
private int m_WaitOnInprogressTimeout = 3000;
|
||||||
#else
|
#else
|
||||||
private List<string> m_CurrentlyWriting = new List<string>();
|
private HashSet<string> m_CurrentlyWriting = new HashSet<string>();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private bool m_FileCacheEnabled = true;
|
private bool m_FileCacheEnabled = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user