Pārlūkot izejas kodu

delete ytDeviceDataInfluxdbWriter model

James 2 gadi atpakaļ
vecāks
revīzija
b2b1c21768

+ 0 - 1
ytDataCollector/ytDataCollector.pro

@@ -3,5 +3,4 @@ TEMPLATE = subdirs
 SUBDIRS += \
     ytDataCollectorDog \
     ytDataCollectorCore \
-    ytDeviceDataInfluxdbWriter \
     ytDeviceTypeInfluxdbWriter

+ 0 - 3
ytDataCollector/ytDataCollectorDog/dogcore.cpp

@@ -23,9 +23,6 @@ void DogCore::time_out()
         }
     }
     if((chkTime - dataColShm->influtime)>30){
-        if((system("killall ytDeviceDataInfluxdbWriter")) != -1){
-            system("/root/bin/ytDeviceDataInfluxdbWriter &");
-        }
         if((system("killall ytDeviceTypeInfluxdbWriter")) != -1){
             system("/root/bin/ytDeviceTypeInfluxdbWriter &");
         }