diff options
| author | Ian Otto <ianotto24@gmail.com> | 2018-11-21 16:32:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-21 16:32:51 -0700 |
| commit | 20bc9dbf617c61b8c2b7e847d3b88caeabfd6528 (patch) | |
| tree | 8b4b7c7a2dbc678bebfc420917362df2d9ba2964 /cherrypy/process | |
| parent | f4744db053a0097f4ddefadb18881091eee1a136 (diff) | |
| download | cherrypy-git-20bc9dbf617c61b8c2b7e847d3b88caeabfd6528.tar.gz | |
publish should be called when the state is changed
publish should not be called during every wait cycle, only after the wait has found the correct state
Diffstat (limited to 'cherrypy/process')
| -rw-r--r-- | cherrypy/process/wspbus.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/process/wspbus.py b/cherrypy/process/wspbus.py index 8f762ef0..1f1d6577 100644 --- a/cherrypy/process/wspbus.py +++ b/cherrypy/process/wspbus.py @@ -375,7 +375,7 @@ class Bus(object): while self.state not in states: time.sleep(interval) - self.publish(channel) + self.publish(channel) def _do_execv(self): """Re-execute the current process. |
