bin/cubicweb-ctl
author Philippe Pepiot <ph@itsalwaysdns.eu>
Mon, 30 Mar 2020 15:30:02 +0200
changeset 12961 01810941a4be
parent 12779 44147dab9d27
permissions -rwxr-xr-x
[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.

#!/usr/bin/env python3
from cubicweb.cwctl import run
run()