Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 2044

Show
Ignore:
Timestamp:
09/27/08 19:12:25
Author:
fumanchu
Message:

Fix for #844 (mod_python timeout w/ CherryPy 3.1).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-3.0.x/cherrypy/_cpmodpy.py

    r1608 r2044  
    1616 
    1717# We will use this method from the mod_python configuration 
    18 # as the entyr point to our application 
     18# as the entry point to our application 
    1919def setup_server(): 
    20     cherrypy.tree.mount(Root()) 
    2120    cherrypy.config.update({'environment': 'production', 
    2221                            'log.screen': False, 
    2322                            'show_tracebacks': False}) 
    24     # You must start the engine in a non-blocking fashion 
    25     # so that mod_python can proceed 
    26     cherrypy.engine.start(blocking=False) 
     23    cherrypy.tree.mount(Root()) 
    2724 
    2825########################################## 

Hosted by WebFaction

Log in as guest/cpguest to create tickets