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=7271mb-throttle-test
parent
ad91143880
commit
9dbe99af0f
|
@ -795,7 +795,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||||
|
|
||||||
if (File.Exists(filename))
|
if (File.Exists(filename))
|
||||||
{
|
{
|
||||||
File.SetLastAccessTime(filename, DateTime.Now);
|
UpdateFileLastAccessTime(filename);
|
||||||
}
|
}
|
||||||
else if (storeUncached)
|
else if (storeUncached)
|
||||||
{
|
{
|
||||||
|
@ -811,7 +811,6 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return uniqueUuids.Count;
|
return uniqueUuids.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue