cubicweb/misc/migration/3.7.5_Any.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 04 Apr 2017 16:06:44 +0200
branch3.25
changeset 12130 4d874c2fbb5f
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[server] Drop condition on "3.10" migration in repo.init_sources_from_database() We'll duplicate the code of this method in forthcoming changeset so clean it up a bit of old stuff.
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