* minor: Lable the heartbeat thread with the region it's beating for
parent
fa619bdf8c
commit
f5ff2eff24
|
@ -752,7 +752,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
//m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat);
|
//m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat);
|
||||||
HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat));
|
HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat));
|
||||||
HeartbeatThread.SetApartmentState(ApartmentState.MTA);
|
HeartbeatThread.SetApartmentState(ApartmentState.MTA);
|
||||||
HeartbeatThread.Name = "Heartbeat";
|
HeartbeatThread.Name = string.Format("Heartbeat for region {0}", RegionInfo.RegionName);
|
||||||
HeartbeatThread.Priority = ThreadPriority.AboveNormal;
|
HeartbeatThread.Priority = ThreadPriority.AboveNormal;
|
||||||
ThreadTracker.Add(HeartbeatThread);
|
ThreadTracker.Add(HeartbeatThread);
|
||||||
HeartbeatThread.Start();
|
HeartbeatThread.Start();
|
||||||
|
|
Loading…
Reference in New Issue