mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Update thread watchdog on GridServiceRequestThread periodically and turn off alarming
Unfortunately, alarm can spuriously go off if the thread blocks for a long time on an empty queue.
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OpenSim.Region.CoreModules.Framework
|
||||
"GridServiceRequestThread",
|
||||
ThreadPriority.BelowNormal,
|
||||
true,
|
||||
true);
|
||||
false);
|
||||
}
|
||||
|
||||
public void AddRegion(Scene scene)
|
||||
@@ -137,6 +137,8 @@ namespace OpenSim.Region.CoreModules.Framework
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
Watchdog.UpdateThread();
|
||||
|
||||
GridRegionRequest request = m_RequestQueue.Dequeue();
|
||||
GridRegion r = m_scenes[0].GridService.GetRegionByUUID(UUID.Zero, request.regionID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user