[mapguide-commits] r4280 - trunk/MgDev/Common/MapGuideCommon/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Oct 2 15:54:41 EDT 2009


Author: brucedechant
Date: 2009-10-02 15:54:40 -0400 (Fri, 02 Oct 2009)
New Revision: 4280

Modified:
   trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp
   trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.h
Log:
Code cleanup

Notes:
- Change the extra worker thread pool size from 10 to 1 instead of removing the code as this additional thread pool is not used at this time, but is consuming resources.


Modified: trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp	2009-10-02 17:55:48 UTC (rev 4279)
+++ trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp	2009-10-02 19:54:40 UTC (rev 4280)
@@ -158,7 +158,7 @@
 const STRING MgConfigProperties::GeneralPropertyWmsDocumentPath                             = L"WmsDocumentPath";
 const STRING MgConfigProperties::DefaultGeneralPropertyWmsDocumentPath                      = L"Wms/";
 const STRING MgConfigProperties::GeneralPropertyWorkerThreadPoolSize                        = L"WorkerThreadPoolSize"; // for internal use only
-const INT32  MgConfigProperties::DefaultGeneralPropertyWorkerThreadPoolSize                 = 10;
+const INT32  MgConfigProperties::DefaultGeneralPropertyWorkerThreadPoolSize                 = 1;
 const STRING MgConfigProperties::GeneralPropertyRenderer                                    = L"Renderer";
 const STRING MgConfigProperties::DefaultGeneralPropertyRenderer                             = L"GD";
 

Modified: trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.h
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.h	2009-10-02 17:55:48 UTC (rev 4279)
+++ trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.h	2009-10-02 19:54:40 UTC (rev 4280)
@@ -133,7 +133,7 @@
 INTERNAL_API:
 
     static const STRING GeneralPropertyWorkerThreadPoolSize;            /// value("WorkerThreadPoolSize")
-    static const INT32 DefaultGeneralPropertyWorkerThreadPoolSize;      /// value(10)
+    static const INT32 DefaultGeneralPropertyWorkerThreadPoolSize;      /// value(1)
 
 EXTERNAL_API:
 



More information about the mapguide-commits mailing list