stanley-king 2 years ago
parent
commit
e21da6f03d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plot/refill/WriterConsumer.py

+ 2 - 2
plot/refill/WriterConsumer.py

@@ -10,7 +10,7 @@ class WriterConsumer(Thread):
         self._messages = Queue()
         self._stopped = False
         self._handler = handler
-        self._max_threshold = 3000
+        self._max_threshold  = 5000
         self._max_batch_size = 200000
         self._name = name
 
@@ -38,7 +38,7 @@ class WriterConsumer(Thread):
                     continue
                 if path not in batches:
                     batches[path] = list()
-                batches[path].append((method,params))
+                batches[path].append((method, params))
                 count += 1
         except Empty as ex:
             log.info("%s consumer queue is empty", self._name)