From 41e2379f976dbc21613b24eb74a946481b0b811f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 4 Jun 2019 19:02:50 +0100 Subject: mantis 8460: reduce odds of watchdog timeout warning --- OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index da54c54..15294c3 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs @@ -406,16 +406,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap WorkManager.StartThread( process, - string.Format("MapItemRequestThread ({0})", m_scene.RegionInfo.RegionName), - ThreadPriority.BelowNormal, - true, - false); + string.Format("MapItemRequestThread ({0})", m_scene.RegionInfo.RegionName)); WorkManager.StartThread( MapBlockSendThread, - string.Format("MapBlockSendThread ({0})", m_scene.RegionInfo.RegionName), - ThreadPriority.BelowNormal, - true, - false); + string.Format("MapBlockSendThread ({0})", m_scene.RegionInfo.RegionName)); } /// @@ -482,7 +476,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap // viewers only ask for green dots to each region now // except at login with regionhandle 0 // 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; if (regionhandle == 0) @@ -1189,6 +1183,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap return; GetAndSendBlocksInternal(req.client, req.minX, req.minY, req.maxX, req.maxY, req.flags); + Watchdog.UpdateThread(); } thisRunData.Clear(); -- cgit v1.1