Fix up asset stuff

This commit is contained in:
Melanie
2012-01-06 00:04:32 +01:00
parent 23ce1dfc27
commit db482cb7dd

View File

@@ -84,12 +84,15 @@ namespace OpenSim.Services.Connectors
string serviceURI = assetConfig.GetString("AssetServerURI",
String.Empty);
m_ServerURI = serviceURI;
if (serviceURI == String.Empty)
{
m_log.Error("[ASSET CONNECTOR]: No Server URI named in section AssetService");
throw new Exception("Asset connector init error");
}
m_retryTimer = new Timer();
m_retryTimer.Elapsed += new ElapsedEventHandler(retryCheck);
m_retryTimer.Interval = 60000;