flotsam: change the changes

master
UbitUmarov 2020-07-30 01:40:54 +01:00
parent 1c37f357b3
commit 111c741f1b
1 changed files with 2 additions and 2 deletions

View File

@ -756,11 +756,11 @@ namespace OpenSim.Region.CoreModules.Asset
if (File.GetLastAccessTime(file) < purgeLine) if (File.GetLastAccessTime(file) < purgeLine)
{ {
File.Delete(file); File.Delete(file);
cooldown += 2; cooldown += 5;
lock (weakAssetReferencesLock) lock (weakAssetReferencesLock)
weakAssetReferences.Remove(id); weakAssetReferences.Remove(id);
} }
if (++cooldown >= 20) if (++cooldown >= 30)
{ {
await Task.Delay(60).ConfigureAwait(false); await Task.Delay(60).ConfigureAwait(false);
cooldown = 0; cooldown = 0;