Closed 0phelia36 closed 8 months ago
Removes celery, the program now runs as two separate processes, one for flask, another for controlling the hardware, communicating through a queue.
Fixes the issue where two different versions of the hardware code were running at the same time in celery and in flask.
Makes hardware control and configuration outside of recipes simpler.
Tasks are now run periodically by a thread on the hardware process, rather than continuously by a celery task.
What is affected by this PR?
How was this tested?
How was your day?
This looks good to me. I'll try it out on the full rig when I get my dev unit set back up again.
TL;DR
Removes celery, the program now runs as two separate processes, one for flask, another for controlling the hardware, communicating through a queue.
Fixes the issue where two different versions of the hardware code were running at the same time in celery and in flask.
Makes hardware control and configuration outside of recipes simpler.
Tasks are now run periodically by a thread on the hardware process, rather than continuously by a celery task.
What
What is affected by this PR?
Testing
How was this tested?
Notes
How was your day?