Skip to content
Myr

Shorten paragraph about builtin server

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 3d3b809 · Browse files · 1 file+4 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−7 removed

  • other:+4 added−7 removed

1 file+4 added−7 removed

modified:docs/deploying/index.rst+4 added-7 removed
1 unmodified line
23Deployment Options4==================56Flask's builtin server is lightweight and easy to use, but it has multiple7problems which you don't want to face in production. With default settings, it8can handle only one request at a time, and even if you manage to circumvent9this problem, it has too many scaling problems that would make it unsuitable10for production. **Do not use the builtin development server in production**.11Some of the options available for properly running Flask in production are12documented here.6While lightweight and easy to use, **Flask's built-in server is not suitable7for production** as it doesn't scale well and by default serves only one8request at a time. Some of the options available for properly running Flask in9production are documented here.1011If you want to deploy your Flask application to a WSGI server not listed here,12look up the server documentation about how to use a WSGI app with it. Just13remember that your :class:`Flask` application object is the actual WSGI
25 unmodified lines