Open ItayHoresh opened 4 years ago
There are 2 flask servers:
I tried to change the app.run to using the waitress.serve to run the app, but it only made the video run really slow compare to the flask as usual. what i did was to import the serve from waitress in both main.py and flask_video_display.py and changed where the app.run to serve(app, host="0.0.0.0", port=5000)
is it ok that the video is running slow? what do you think we should do ? @ItayHoresh
The video speed is more important than change flask to be in production mode. Our use of the flask display is for development for now.
What will we do when we'll need to use the pipeline in production mode and will need it to run for a long time?
The flask server is currently running in develop mode. It can cause problems when running the pipe for long time