How To Restart Flask Process By Refreshing Page
I have a simple Flask application that queries a database using a set of parameters and then plots the result. This works fine, but how do I restart process(querying database, plot
Solution 1:
You should use queues For example Celery + Redis or Celery + RabbitMq as mentioned by others. You can examples here: http://eon01.com/blog/celery-worker-rabbitmq-broker-step-by-step-introduction/
Post a Comment for "How To Restart Flask Process By Refreshing Page"