From 70ad5604cddd24b896e843255325240116a4dc22 Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 27 Feb 2008 22:47:33 +0000 Subject: disabled AssetDownloadModule and re-enabled the asset download code in the asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow. --- OpenSim/Region/Environment/Modules/AssetDownloadModule.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs b/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs index ca01cae..f53be41 100644 --- a/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs +++ b/OpenSim/Region/Environment/Modules/AssetDownloadModule.cs @@ -65,17 +65,17 @@ namespace OpenSim.Region.Environment.Modules if (!RegisteredScenes.ContainsKey(scene.RegionInfo.RegionID)) { RegisteredScenes.Add(scene.RegionInfo.RegionID, scene); - scene.EventManager.OnNewClient += NewClient; + // scene.EventManager.OnNewClient += NewClient; } if (m_scene == null) { m_scene = scene; - m_thread = new Thread(new ThreadStart(RunAssetQueue)); - m_thread.Name = "AssetDownloadQueueThread"; - m_thread.IsBackground = true; - m_thread.Start(); - OpenSim.Framework.ThreadTracker.Add(m_thread); + // m_thread = new Thread(new ThreadStart(RunAssetQueue)); + // m_thread.Name = "AssetDownloadQueueThread"; + // m_thread.IsBackground = true; + // m_thread.Start(); + // OpenSim.Framework.ThreadTracker.Add(m_thread); } } @@ -99,7 +99,7 @@ namespace OpenSim.Region.Environment.Modules public void NewClient(IClientAPI client) { - client.OnRequestAsset += AddAssetRequest; + // client.OnRequestAsset += AddAssetRequest; } /// -- cgit v1.1