digitalmethodsinitiative / dmi_pix_plot

Fork of https://dhlab.yale.edu/projects/pixplot/
MIT License
3 stars 0 forks source link

Gunicorn workers and reporting #2

Open dale-wahl opened 3 years ago

dale-wahl commented 3 years ago

Each Gunicorn worker seems to set up it's own version of the Shell2HTTP commands for pixplot. This has the downside that any give worker is not knowledgeable about other pixplot commands running on other workers. If you request a report, you will only get it if the same worker that received the original request receives the request for a report.

Right now that botches up the 4CAT pixplot processor.

dale-wahl commented 2 years ago

Currently only allowing one worker at a time to ensure. Mentioned issue here https://github.com/eshaan7/Flask-Shell2HTTP/issues/24#issuecomment-936112153