mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Commenting the DEBUG code that I added yesterday, because it's causing mono to fail with
https://bugzilla.novell.com/show_bug.cgi?id=538854
This commit is contained in:
@@ -962,12 +962,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
int maintc = 0;
|
||||
while (!shuttingdown)
|
||||
{
|
||||
#if DEBUG
|
||||
int w = 0, io = 0;
|
||||
ThreadPool.GetAvailableThreads(out w, out io);
|
||||
if ((w < 10) || (io < 10))
|
||||
m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io);
|
||||
#endif
|
||||
//#if DEBUG
|
||||
// int w = 0, io = 0;
|
||||
// ThreadPool.GetAvailableThreads(out w, out io);
|
||||
// if ((w < 10) || (io < 10))
|
||||
// m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io);
|
||||
//#endif
|
||||
maintc = Environment.TickCount;
|
||||
|
||||
TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate;
|
||||
|
||||
Reference in New Issue
Block a user