changed sleep from 0.1sec to 0.001sec in _send_loop()
This commit is contained in:
parent
147034680d
commit
8a9317d742
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue