configuration parameters name updated
authorVictor Kirhenshtein <victor@netxms.org>
Thu, 28 Sep 2017 12:56:18 +0000 (15:56 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 28 Sep 2017 12:56:18 +0000 (15:56 +0300)
src/server/core/datacoll.cpp

index 11f0ce7..83b3f95 100644 (file)
@@ -539,7 +539,10 @@ void InitDataCollector()
 {
    int i, iNumCollectors;
 
 {
    int i, iNumCollectors;
 
-   g_dataCollectorThreadPool = ThreadPoolCreate(ConfigReadInt(_T("DataCollectorThreadPoolBaseSize"), 10), ConfigReadInt(_T("DataCollectorThreadPoolMaxSize"), 250), _T("DATACOLL"));
+   g_dataCollectorThreadPool = ThreadPoolCreate(
+            ConfigReadInt(_T("DataCollector.ThreadPool.BaseSize"), 10),
+            ConfigReadInt(_T("DataCollector.ThreadPool.MaxSize"), 250),
+            _T("DATACOLL"));
 
    ThreadCreate(ItemPoller, 0, NULL);
    ThreadCreate(StatCollector, 0, NULL);
 
    ThreadCreate(ItemPoller, 0, NULL);
    ThreadCreate(StatCollector, 0, NULL);