mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
remove a forgotten gc collect on flotsam cache
This commit is contained in:
@@ -992,13 +992,11 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
string idstr = id.ToString();
|
||||
if(!UpdateFileLastAccessTime(GetFileName(idstr)) && tryGetUncached)
|
||||
{
|
||||
cooldown += 50;
|
||||
cooldown += 10;
|
||||
m_AssetService.Get(idstr);
|
||||
}
|
||||
if (++cooldown > 500)
|
||||
if (++cooldown > 100)
|
||||
{
|
||||
if(tryGetUncached)
|
||||
GC.Collect();
|
||||
Thread.Sleep(50);
|
||||
cooldown = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user