summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qweb/qweb-test-widgets.xml
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-03-21 19:36:19 +0100
committerToufik Benjaa <tbe@odoo.com>2018-06-12 18:10:37 +0200
commitc8243e71c6da37547a19f61c58f25d5d03e13d38 (patch)
treebad43945779cf5e4612efcf1e665845022ee1746 /addons/web/static/lib/qweb/qweb-test-widgets.xml
parent8357e7395e0533d5436b7e45311a81daa29caa48 (diff)
[FIX] http: Consume less cursors for session checks
- Each time we check if a session is valid we create a new cursor. This could lead to issues with db_maxconn that limits the number of connections to the postgresql server. In a perfect world, a worker should use a single connection to postgres to process the request. The only known side effect is that the cursor is created earlier in the execution of the code. - This commit fixes issues with the longpolling raising Psycopg2.PoolError exceptions on databases with a lot of clients.
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-widgets.xml')
0 files changed, 0 insertions, 0 deletions