rename wrong RegionSimpleStatsHandler as RegionStatsSimpleHandler

master
UbitUmarov 2020-04-27 18:06:27 +01:00
parent 04b28f206a
commit b4fc5c33ec
2 changed files with 3 additions and 3 deletions

View File

@ -489,7 +489,7 @@ namespace OpenSim
scene.LoadPrimsFromStorage(regionInfo.originRegionID);
// TODO : Try setting resource for region xstats here on scene
MainServer.Instance.AddSimpleStreamHandler(new RegionSimpleStatsHandler(regionInfo));
MainServer.Instance.AddSimpleStreamHandler(new RegionStatsSimpleHandler(regionInfo));
if (scene.SnmpService != null)
{

View File

@ -45,7 +45,7 @@ using OpenSim.Region.Framework.Scenes;
namespace OpenSim.Region.Framework.Scenes
{
public class RegionSimpleStatsHandler : SimpleStreamHandler
public class RegionStatsSimpleHandler : SimpleStreamHandler
{
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@ -55,7 +55,7 @@ namespace OpenSim.Region.Framework.Scenes
public string localZone = TimeZone.CurrentTimeZone.StandardName;
public TimeSpan utcOffset = TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now);
public RegionSimpleStatsHandler(RegionInfo region_info) : base("/" + Util.SHA1Hash(region_info.regionSecret))
public RegionStatsSimpleHandler(RegionInfo region_info) : base("/" + Util.SHA1Hash(region_info.regionSecret))
{
regionInfo = region_info;
osXStatsURI = Util.SHA1Hash(regionInfo.osSecret);