I constantly did not enter service uwsgi restart?

I set up ngnix, 185.146.168.221. My website is running on uwsgi. When I change the code I need it immediately without restarting changed on the website! How can I do it?
July 2nd 19 at 17:47
1 answer
July 2nd 19 at 17:49
Solution
touch-reload

uwsgi, in General, he can restart when the code changes, but this is unacceptable in production, and generally takes up too much CPU.
I have some config: dumpz.org/2486589 - Jace_Roob commented on July 2nd 19 at 17:52
: uwsgi-docs.readthedocs.io/en/latest/Options.html#t... - Garnett_Deckow commented on July 2nd 19 at 17:55
That's the answer, why do you write comments? - Jace_Roob commented on July 2nd 19 at 17:58
: Maybe because the answer is already 3 hours? - glennie_Mer commented on July 2nd 19 at 18:01
:

and indeed takes too much CPU.

There are other solutions ? - brook.Dare commented on July 2nd 19 at 18:04
Other solutions for what? Reloadit to the server when you change files? No, of course. Nobody in their right mind does not. - glennie_Mer commented on July 2nd 19 at 18:07
Now faced with a similar problem as this author. Things for this tutorial https://www.digitalocean.com/community/tutorials/h...
Can't understand where you want to insert touch reload and what do you know ? - brook.Dare commented on July 2nd 19 at 18:10

Find more questions by tags Python