Commits

Robert Brewer  committed 99844c9

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

  • Participants
  • Parent commits 8ca1c59
  • Branches cherrypy-3.0.x

Comments (0)

Files changed (1)

File cherrypy/_cpmodpy.py

 
 
 # We will use this method from the mod_python configuration
-# as the entyr point to our application
+# as the entry point to our application
 def setup_server():
-    cherrypy.tree.mount(Root())
     cherrypy.config.update({'environment': 'production',
                             'log.screen': False,
                             'show_tracebacks': False})
-    # You must start the engine in a non-blocking fashion
-    # so that mod_python can proceed
-    cherrypy.engine.start(blocking=False)
+    cherrypy.tree.mount(Root())
 
 ##########################################
 # mod_python settings for apache2