pixelpusher / liveprinter

Livecoding for 3D printers
GNU Affero General Public License v3.0
40 stars 5 forks source link

tornado's threading is not implemented well #10

Closed pixelpusher closed 6 years ago

pixelpusher commented 6 years ago

the periodic callback and ioloop in PrinterServer.py is not working... it's blocking and preventing the WebSockets client from connecting. Likely I've not implemented it correctly, it's more complex than I'd hoped. Perhaps it needs to be a simpler threading model.

pixelpusher commented 6 years ago

was a bug with the queue unfinished tasks in python. Changed architecture to client push/pull now instead of polling printer responses queue which was a silly idea