mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8002eaffb9 | ||
|
|
b10457f04a | ||
|
|
35104e4960 | ||
|
|
5d70f9e34d | ||
|
|
a87969840c |
@@ -187,7 +187,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
|||||||
m_regionGlobalX = scene.RegionInfo.WorldLocX;
|
m_regionGlobalX = scene.RegionInfo.WorldLocX;
|
||||||
m_regionGlobalY = scene.RegionInfo.WorldLocY;
|
m_regionGlobalY = scene.RegionInfo.WorldLocY;
|
||||||
m_regionSizeX = scene.RegionInfo.RegionSizeX;
|
m_regionSizeX = scene.RegionInfo.RegionSizeX;
|
||||||
m_regionSizeY = scene.RegionInfo.RegionSizeX;
|
m_regionSizeY = scene.RegionInfo.RegionSizeY;
|
||||||
m_regionName = scene.RegionInfo.RegionName;
|
m_regionName = scene.RegionInfo.RegionName;
|
||||||
|
|
||||||
m_scene.RegisterModuleInterface<IWorldMapModule>(this);
|
m_scene.RegisterModuleInterface<IWorldMapModule>(this);
|
||||||
|
|||||||
@@ -1337,10 +1337,15 @@ namespace OpenSim.Region.Framework.Scenes
|
|||||||
{
|
{
|
||||||
string IDstr = assetID.ToString();
|
string IDstr = assetID.ToString();
|
||||||
AssetBase asset = m_assetService.Get(IDstr, m_assetServerURL, true);
|
AssetBase asset = m_assetService.Get(IDstr, m_assetServerURL, true);
|
||||||
if (asset is null)
|
// Per-asset Debug is expensive (sync File+Console). Only when HTTP debug is on:
|
||||||
m_log.Debug($"[HGUUIDGatherer]: Failed to fetch asset {IDstr} from {m_assetServerURL}");
|
// debug http all|out N (WebUtil.DebugLevel > 0)
|
||||||
else
|
if (WebUtil.DebugLevel > 0)
|
||||||
m_log.Debug($"[HGUUIDGatherer]: Copied asset {IDstr} from {m_assetServerURL} to local asset server");
|
{
|
||||||
|
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;
|
return asset;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,6 +61,10 @@
|
|||||||
; QueueUserWorkItem, SmartThreadPool, and Thread.
|
; QueueUserWorkItem, SmartThreadPool, and Thread.
|
||||||
async_call_method = SmartThreadPool
|
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
|
; Max threads to allocate on the FireAndForget thread pool
|
||||||
; when running with the SmartThreadPool option above
|
; when running with the SmartThreadPool option above
|
||||||
MaxPoolThreads = 300
|
MaxPoolThreads = 300
|
||||||
|
|||||||
Reference in New Issue
Block a user