bin/cubicweb-ctl
author Philippe Pepiot <ph@itsalwaysdns.eu>
Mon, 30 Mar 2020 15:45:40 +0200
changeset 12962 fa0cd558d829
parent 12779 44147dab9d27
permissions -rwxr-xr-x
[server] implement dynamic database pooler Opening too much database connection has a cost at startup and also PostgreSQL as a maximum number of connection (100 by default). This get worse when starting multiple wsgi processes, since each process has its own database pool. Instead of opening `connections-pool-size` connections to the database at startup, just open one and open more only when needed.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12779
44147dab9d27 Use python3 shebang for scripts
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents: 12253
diff changeset
     1
#!/usr/bin/env python3
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     2
from cubicweb.cwctl import run
12253
9165f4b7426b Set a default value for arguments of cubicweb.cwctl:run()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 0
diff changeset
     3
run()