If "fcache assets" is executed, don't stop with an exception if there's an access violation if another thread is operating on the file at the same time.

Resolves one issue from http://opensimulator.org/mantis/view.php?id=7271
mb-throttle-test
Justin Clark-Casey (justincc) 2014-12-04 01:53:42 +00:00
parent ad91143880
commit 9dbe99af0f
1 changed files with 1 additions and 2 deletions

View File

@ -795,7 +795,7 @@ namespace OpenSim.Region.CoreModules.Asset
if (File.Exists(filename))
{
File.SetLastAccessTime(filename, DateTime.Now);
UpdateFileLastAccessTime(filename);
}
else if (storeUncached)
{
@ -811,7 +811,6 @@ namespace OpenSim.Region.CoreModules.Asset
});
}
return uniqueUuids.Count;
}