diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2021-11-08 14:12:40 +0100 |
---|---|---|
committer | Felix Edel <felix.edel@bmw.de> | 2021-11-10 09:49:48 +0100 |
commit | 59edeaf3d10d6b0115475793135b9032109cf986 (patch) | |
tree | ec7050c427a251989ef7d1de23f9c29d5d3ee2c0 /zuul/cmd | |
parent | 660b4237ae9c2d26721ca06a78cbfd8b96bf4ccd (diff) | |
download | zuul-59edeaf3d10d6b0115475793135b9032109cf986.tar.gz |
Use pipeline summary from Zookeeper in zuul-web
With this change zuul-web will generate the status JSON on its own by
directly using the data from Zookeeper. This includes the event queue
lengths as well as the pipeline summary.
Change-Id: Ib80d9c019a15dd9de9d694cb62fd34030016c311
Diffstat (limited to 'zuul/cmd')
-rwxr-xr-x | zuul/cmd/web.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zuul/cmd/web.py b/zuul/cmd/web.py index be700c3f5..c30c79025 100755 --- a/zuul/cmd/web.py +++ b/zuul/cmd/web.py @@ -61,6 +61,7 @@ class WebServer(zuul.cmd.ZuulDaemonApp): connections=self.connections, authenticators=self.authenticators, ) + self.connections.load(self.web.zk_client) except Exception: self.log.exception("Error creating ZuulWeb:") sys.exit(1) |