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

two nodes run cleanup at the same time.
avinationmerge
Melanie Thielker 2014-08-18 17:14:51 +02:00
parent d64fb216d2
commit 4f7acc4c2c
1 changed files with 5 additions and 0 deletions

View File

@ -588,6 +588,11 @@ namespace OpenSim.Region.CoreModules.Asset
dir, dirSize); 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) catch (Exception e)
{ {
m_log.Warn( m_log.Warn(