mantis 8460: reduce odds of watchdog timeout warning

0.9.1.0-post-fixes
UbitUmarov 2019-06-04 19:02:50 +01:00
parent 38e937f91b
commit 41e2379f97
1 changed files with 4 additions and 9 deletions

View File

@ -406,16 +406,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
WorkManager.StartThread( WorkManager.StartThread(
process, process,
string.Format("MapItemRequestThread ({0})", m_scene.RegionInfo.RegionName), string.Format("MapItemRequestThread ({0})", m_scene.RegionInfo.RegionName));
ThreadPriority.BelowNormal,
true,
false);
WorkManager.StartThread( WorkManager.StartThread(
MapBlockSendThread, MapBlockSendThread,
string.Format("MapBlockSendThread ({0})", m_scene.RegionInfo.RegionName), string.Format("MapBlockSendThread ({0})", m_scene.RegionInfo.RegionName));
ThreadPriority.BelowNormal,
true,
false);
} }
/// <summary> /// <summary>
@ -482,7 +476,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
// viewers only ask for green dots to each region now // viewers only ask for green dots to each region now
// except at login with regionhandle 0 // except at login with regionhandle 0
// possible on some other rare ocasions // possible on some other rare ocasions
// use previus hack of sending all items with the green dots // use previous hack of sending all items with the green dots
bool adultRegion; bool adultRegion;
if (regionhandle == 0) if (regionhandle == 0)
@ -1189,6 +1183,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
return; return;
GetAndSendBlocksInternal(req.client, req.minX, req.minY, req.maxX, req.maxY, req.flags); GetAndSendBlocksInternal(req.client, req.minX, req.minY, req.maxX, req.maxY, req.flags);
Watchdog.UpdateThread();
} }
thisRunData.Clear(); thisRunData.Clear();