From c2e39fd1a786b547b89735d7e3a78c3c44950f94 Mon Sep 17 00:00:00 2001 From: Armin Berres <20811121+aberres@users.noreply.github.com> Date: Tue, 30 Apr 2019 16:32:35 +0200 Subject: [PATCH] Emphasize that full greenlet support might need additional work --- docs/source/design.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/source/design.rst b/docs/source/design.rst index 85157666..079e65ad 100644 --- a/docs/source/design.rst +++ b/docs/source/design.rst @@ -46,6 +46,13 @@ Gevent_). Greenlets are an implementation of cooperative multi-threading for Python. In general, an application should be able to make use of these worker classes with no changes. +For full greenlet support applications might need to be adapted. +When using, e.g., Gevent_ and Psycopg_ it makes sense to ensure psycogreen_ is +installed and `setup `_. + +Other applications might not be compatible at all as they, e.g., rely on +the original unpatched behavior. + Tornado Workers --------------- @@ -143,3 +150,5 @@ code in the master process). .. _Hey: https://github.com/rakyll/hey .. _aiohttp: https://docs.aiohttp.org/en/stable/deployment.html#nginx-gunicorn .. _`example`: https://github.com/benoitc/gunicorn/blob/master/examples/frameworks/flaskapp_aiohttp_wsgi.py +.. _Psycopg: http://initd.org/psycopg/ +.. _psycogreen: https://bitbucket.org/dvarrazzo/psycogreen