From 42844c2ef9b60df54b964ec689bbb7556bc2c030 Mon Sep 17 00:00:00 2001 From: make-ing Date: Tue, 6 Oct 2015 12:09:09 +0200 Subject: [PATCH] reverted to old sleep 0.1sec due to acc bug --- .gitignore | 1 + src/octoprint/util/comm_acc.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f6e2d3c9..4d9c960d 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ OctoPrint.egg-info /nbproject/ .directory .project +out/* diff --git a/src/octoprint/util/comm_acc.py b/src/octoprint/util/comm_acc.py index e0e02be4..2646e13d 100644 --- a/src/octoprint/util/comm_acc.py +++ b/src/octoprint/util/comm_acc.py @@ -1708,7 +1708,7 @@ class MachineCom(object): while self._send_queue_active: try: if(self.RX_BUFFER_SIZE - sum(self.acc_line_lengths) < 20): - time.sleep(0.001) + time.sleep(0.1) continue # wait until we have something in the queue