diff options
author | Robert Brewer <fumanchu@aminus.org> | 2006-08-26 08:26:19 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2006-08-26 08:26:19 +0000 |
commit | 4259eeb231947c0bf52d7c1e87de7410e5a1167e (patch) | |
tree | b235dcb6e53f3e39964e582f2374e66e0d576585 /cherrypy/_cpengine.py | |
parent | 025841a3d490174482eaa8d6677908383e40fccc (diff) | |
download | cherrypy-git-4259eeb231947c0bf52d7c1e87de7410e5a1167e.tar.gz |
API and docstring cleanups:
1. Removed WrongConfigValue, decorate, decorate_all, and ExposeItems.
2. Moved cherrypy.logtime to cherrypy.log.time.
3. Reduced cherrypy.config.globalconf back to just cherrypy.config.
4. Moved _cpconfig.default_conf to config.defaults.
.
Diffstat (limited to 'cherrypy/_cpengine.py')
-rw-r--r-- | cherrypy/_cpengine.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cherrypy/_cpengine.py b/cherrypy/_cpengine.py index a8990b8c..071d3ac0 100644 --- a/cherrypy/_cpengine.py +++ b/cherrypy/_cpengine.py @@ -46,7 +46,7 @@ class Engine(object): request_class = _cprequest.Request response_class = _cprequest.Response deadlock_poll_freq = 60 - autoreload_on = False + autoreload_on = True autoreload_frequency = 1 def __init__(self): @@ -172,7 +172,7 @@ class Engine(object): cherrypy.log("CherryPy shut down", "ENGINE") def restart(self): - """Restart the application engine (doesn't block).""" + """Restart the application engine (does not block).""" self.stop() self.start(blocking=False) @@ -215,7 +215,7 @@ class Engine(object): return req def monitor(self): - """Check timeout on all responses.""" + """Check timeout on all responses (starts a recurring Timer).""" if self.state == STARTED: for req, resp in self.servings: resp.check_timeout() |