cubicweb/misc/migration/3.7.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 17 Oct 2016 14:50:47 +0200
changeset 11776 b49684ddd543
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[repository] Drop the index on entities.type It should be now only used in maintenance queries in checkintegrity. Those are not worth maintaining it. Closes #15538317
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5326
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
if versions_map['cubicweb'][0] == (3, 7, 4):
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
    config['http-session-time'] *= 60
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
    config['cleanup-session-time'] *= 60
0d9054eb3bd1 [config] properly use time type for options representing a time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
    config['cleanup-anonymous-session-time'] *= 60