I don’t want to run tornado in debug mode or use autoreload , still I want to be able to reload the server by a trigger , like requesting a specific url, or with a timer or something,
Is there a way to manually reload a tornado httpserver without killing the process and starting it again?
The only way I have done this is to run it behind a Nginx proxy and then restart each running process through supervisord. It’s kind of clunky, but once you script it out it’s not that bad actually and should be transparent to the user.
Just did a search and found a very similar but better worded answer:
Is there a way to deploy new code with Tornado/Python without restarting the server?