Fix up asset stuff

avinationmerge
Melanie 2012-01-06 00:04:32 +01:00
parent 23ce1dfc27
commit db482cb7dd
1 changed files with 3 additions and 0 deletions

View File

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