Revision 0167faa4 docs/quick-install-admin-guide.rst
b/docs/quick-install-admin-guide.rst | ||
---|---|---|
630 | 630 |
from synnefo.lib.db.pooled_psycopg2 import monkey_patch_psycopg2 |
631 | 631 |
monkey_patch_psycopg2() |
632 | 632 |
|
633 |
If running with greenlets, it is also recommended to modify psycopg2 behavior
|
|
634 |
so it works properly in a greenlet context:
|
|
633 |
If running with greenlets, we should modify psycopg2 behavior, so it works
|
|
634 |
properly in a greenlet context: |
|
635 | 635 |
|
636 | 636 |
.. code-block:: console |
637 | 637 |
|
Also available in: Unified diff