changed sleep from 0.1sec to 0.001sec in _send_loop()

This commit is contained in:
make-ing 2015-10-06 11:31:55 +02:00
parent 147034680d
commit 8a9317d742

View file

@ -1757,7 +1757,7 @@ class MachineCom(object):
while self._send_queue_active: while self._send_queue_active:
try: try:
if(self.RX_BUFFER_SIZE - sum(self.acc_line_lengths) < 20): if(self.RX_BUFFER_SIZE - sum(self.acc_line_lengths) < 20):
time.sleep(0.1) time.sleep(0.001)
continue continue
# wait until we have something in the queue # wait until we have something in the queue