From 9b684280589c0ff92d0f61041ed1d52bd346d823 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 8 Oct 2008 17:56:37 +0000 Subject: * minor: Comment out initial regularly occuring EventQueueGet log debug message for now, as previously discussed with Ter --- .../Modules/Framework/EventQueueGetModule.cs | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs index 76fb141..78e2df5 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs @@ -77,8 +77,6 @@ namespace OpenSim.Region.Environment.Modules.Framework { m_gConfig = config; - - IConfig startupConfig = m_gConfig.Configs["Startup"]; ReadConfigAndPopulate(scene, startupConfig, "Startup"); @@ -285,15 +283,15 @@ namespace OpenSim.Region.Environment.Modules.Framework // TODO: this has to be redone to not busy-wait (and block the thread), // TODO: as soon as we have a non-blocking way to handle HTTP-requests. - if (m_log.IsDebugEnabled) - { - String debug = "[EVENTQUEUE]: Got request for agent {0} in region {1} from thread {2}: [ "; - foreach (object key in request.Keys) - { - debug += key.ToString() + "=" + request[key].ToString() + " "; - } - m_log.DebugFormat(debug + " ]", agentID, m_scene.RegionInfo.RegionName, System.Threading.Thread.CurrentThread.Name); - } +// if (m_log.IsDebugEnabled) +// { +// String debug = "[EVENTQUEUE]: Got request for agent {0} in region {1} from thread {2}: [ "; +// foreach (object key in request.Keys) +// { +// debug += key.ToString() + "=" + request[key].ToString() + " "; +// } +// m_log.DebugFormat(debug + " ]", agentID, m_scene.RegionInfo.RegionName, System.Threading.Thread.CurrentThread.Name); +// } BlockingLLSDQueue queue = GetQueue(agentID); LLSD element = queue.Dequeue(15000); // 15s timeout -- cgit v1.1