2đź‘Ť
The problem is much more complex than “Turn on Always On option”. I faced this problem, resolved and described on my blog: https://lnx.azurewebsites.net/python-app-on-azure-web-apps-frequently-restarts/
0đź‘Ť
Try enabling the “Always On” feature, this can be done via the web app settings.
How Azure websites works is that the site content is stored on a file server, and then the site is loaded by a web worker when it is active. If the site is idle it will be unloaded, causing a restart. Always on means that your web app is always loaded.
Documentation for configuring web apps is here:
https://azure.microsoft.com/en-us/documentation/articles/web-sites-configure/
👤theadriangreen
- [Answered ]-Authorization header in AngularJS not working
- [Answered ]-Django-cms: link to plugin with hashtag
- [Answered ]-Django save(commit=False) versus full_clean
- [Answered ]-Django Model Unique Constraint Exception
Source:stackexchange.com