remove a forgotten gc collect on flotsam cache
parent
6fafb7462d
commit
bb56157c92
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue