Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
a51005aacd
|
@ -87,10 +87,11 @@ namespace OpenSim.Region.OptionalModules.Simian
|
|||
if (String.IsNullOrEmpty(m_serverUrl))
|
||||
return;
|
||||
|
||||
m_refreshtime = Convert.ToInt32(config.GetString("RefreshTime"));
|
||||
if (m_refreshtime <= 0)
|
||||
int refreshseconds = Convert.ToInt32(config.GetString("RefreshTime"));
|
||||
if (refreshseconds <= 0)
|
||||
return;
|
||||
|
||||
m_refreshtime = refreshseconds * 1000; // convert from seconds to ms
|
||||
m_log.InfoFormat("[SIMIAN MAPTILE] enabled with refresh timeout {0} and URL {1}",
|
||||
m_refreshtime,m_serverUrl);
|
||||
|
||||
|
|
Loading…
Reference in New Issue