Expect a missing directory, the asset cache is shared. Prevent spew if

two nodes run cleanup at the same time.
This commit is contained in:
Melanie Thielker
2014-08-18 17:14:51 +02:00
parent d64fb216d2
commit 4f7acc4c2c

View File

@@ -588,6 +588,11 @@ namespace OpenSim.Region.CoreModules.Asset
dir, dirSize);
}
}
catch (DirectoryNotFoundException)
{
// If we get here, another node on the same box has
// already removed the directory. Continue with next.
}
catch (Exception e)
{
m_log.Warn(