~jfb-tempo-consulting/unifield-web/US-5345

« back to all changes in this revision

Viewing changes to openobject/commands.py

  • Committer: jf
  • Date: 2018-11-14 08:18:11 UTC
  • Revision ID: jfb@tempo-consulting.fr-20181114081811-dyev326pjtjk2nju
Tags: uf11.0rc2
US-4350 [FIX] Set session locking mode in code

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
    if options.static:
89
89
        openobject.enable_static_paths()
90
90
 
 
91
    if not cherrypy.config.get('tools.sessions.locking'):
 
92
        cherrypy.config['tools.sessions.locking'] = 'explicit'
91
93
    # Try to start revprox now so that we know what default to set for
92
94
    # port number (revprox ok? port = 18061)
93
95
    if options.port is None: