misc/migration/3.7.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 04 Feb 2014 15:06:25 +0100
changeset 9724 e45bf9baa7b7
parent 5326 0d9054eb3bd1
permissions -rw-r--r--
Add a db-statement-timeout option for postgresql sources Use that new option to set the statement_timeout option when creating connections, except for maintenance operations (shell and upgrade). Closes #2547026

if versions_map['cubicweb'][0] == (3, 7, 4):
    config['http-session-time'] *= 60
    config['cleanup-session-time'] *= 60
    config['cleanup-anonymous-session-time'] *= 60