Sorry, we don't support your browser.  Install a modern browser

Redundant parts coming out of a print queue#293

S

Hello,

we actually have a problem regarding the print queue in SimplyPrint. When the queue is filled, some printers are starting the same part. Same behaviour can be watched when two parts from two printers finish the same time. Then the next parts both printers grab from the queue mostly are the same part. I guess the problem can be traced back to multiple threads running parallel for each printer grabbing the parts. Is there a possibility to serialize this? Maybe by integrating the following procedure:
1) Before any part of the queue is started, every printer (or their thread) from the queue is blocked (or maybe temporary removed from the queue).
2) A random blocked printer from the queue gets picked to print any part
3) When octoprint sends the feedback that the printer is heating up, another printer can be unblocked.
4) Step 3 and 4 are repeated untill every printer is running.
5) When two printers finish at the same time, the blocking is set on those finished printers and step 2, 3 and 4 are executed

That routine would be very helpful

Thank you in advance

8 days ago