doc/api/pyramid/bwcompat.rst
author Philippe Pepiot <ph@itsalwaysdns.eu>
Mon, 30 Mar 2020 15:30:02 +0200
changeset 12961 01810941a4be
parent 11631 faf279e33298
permissions -rw-r--r--
[server] use a LifoQueue in _CnxSetPool In postgresql, some cache is attached to the connection. Using a LifoQueue (last-in, first-out) makes a few connections to get the most load which give best performance.

.. _bwcompat_module:

:mod:`cubicweb.pyramid.bwcompat`
--------------------------------

.. automodule:: cubicweb.pyramid.bwcompat

    .. autofunction:: includeme

    .. autoclass:: PyramidSessionHandler
        :members:

    .. autoclass:: CubicWebPyramidHandler
        :members:

        .. automethod:: __call__

    .. autoclass:: TweenHandler
        :members: