Преглед на файлове

refactoring data-collection class

steve преди 8 години
родител
ревизия
e2c3199b49
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      src/utils/agents/data-collector.py

+ 4 - 1
src/utils/agents/data-collector.py

@@ -88,7 +88,10 @@ class ICollector(Thread) :
 				else:
 					label = id
 					row = data
-
+                                #
+                                # At this point we should check for the status and if it prompts an action
+                                # @TODO Use a design pattern for this ...
+                                #
 				self.lock.acquire()
 				store = self.factory.instance(type=write_class,args=read_args)
 				store.flush(size=200)