Compare commits

...

7 Commits

Author SHA1 Message Date
Ubit Umarov
58b7b39db6 Merge pull request #60 from Tampa/Sim_height_like_viewer
Sync max sim height with viewer limit
2026-08-16 01:36:41 +01:00
Vincent Sylvester
0509d7de9b Sync max sim height with viewer limit 2026-08-15 22:33:38 +02:00
UbitUmarov
78cb44c0c9 recover lost change 2026-08-11 19:29:59 +01:00
Ubit Umarov
8002eaffb9 Merge pull request #56 from amandaleeang/hg-slow-fetch
Gate HGUuidGatherer per-asset Debug logs on WebUtil.DebugLevel
2026-08-09 18:25:48 +01:00
Amanda Lee
b10457f04a Gate HGUuidGatherer per-asset Debug logs on WebUtil.DebugLevel.
Per-asset Copied/Failed lines dominate HG attachment gather time under
sync File+Console appenders. Emit them only when HTTP debug is enabled
(debug http all|out N), keeping normal HG logins fast.
2026-08-10 00:12:03 +08:00
Ubit Umarov
35104e4960 Merge pull request #54 from amandaleeang/opensim-defaults
Add MinPoolThreads setting to OpenSimDefaults.ini
2026-08-08 21:16:48 +01:00
Amanda Lee
5d70f9e34d Add MinPoolThreads setting to OpenSimDefaults.ini 2026-08-08 17:50:47 +08:00
4 changed files with 14 additions and 9 deletions

View File

@@ -57,7 +57,7 @@ namespace OpenSim.Framework
public const int LandUnit = 4; // parcels only have sizes multiple of this
public const float MinSimulationHeight = -100f;
public const float MaxSimulationHeight = 50000f;
public const float MaxSimulationHeight = 65536f;
public const float MinTerrainHeightmap = -100f;
public const float MaxTerrainHeightmap = 4000f;
public const float MinWaterHeight = 0;

View File

@@ -130,14 +130,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
//m_log.DebugFormat("[MAPSEARCHMODULE]: search {0} returned {1} regions", mapName, regionInfos.Count);
MapBlockData data;
if (regionInfos != null && regionInfos.Count > 0)
{
foreach (GridRegion info in regionInfos)
{
data = new MapBlockData();
data.Agents = 0;
data.Access = info.Access;
MapBlockData block = new MapBlockData();
MapBlockFromGridRegion(block, info, flags);

View File

@@ -1337,10 +1337,15 @@ namespace OpenSim.Region.Framework.Scenes
{
string IDstr = assetID.ToString();
AssetBase asset = m_assetService.Get(IDstr, m_assetServerURL, true);
if (asset is null)
m_log.Debug($"[HGUUIDGatherer]: Failed to fetch asset {IDstr} from {m_assetServerURL}");
else
m_log.Debug($"[HGUUIDGatherer]: Copied asset {IDstr} from {m_assetServerURL} to local asset server");
// Per-asset Debug is expensive (sync File+Console). Only when HTTP debug is on:
// debug http all|out N (WebUtil.DebugLevel > 0)
if (WebUtil.DebugLevel > 0)
{
if (asset is null)
m_log.Debug($"[HGUUIDGatherer]: Failed to fetch asset {IDstr} from {m_assetServerURL}");
else
m_log.Debug($"[HGUUIDGatherer]: Copied asset {IDstr} from {m_assetServerURL} to local asset server");
}
return asset;
}

View File

@@ -61,6 +61,10 @@
; QueueUserWorkItem, SmartThreadPool, and Thread.
async_call_method = SmartThreadPool
; Min threads to allocate on the FireAndForget thread pool
; when running with the SmartThreadPool option above
MinPoolThreads = 2
; Max threads to allocate on the FireAndForget thread pool
; when running with the SmartThreadPool option above
MaxPoolThreads = 300