summaryrefslogtreecommitdiff
path: root/zuul/cmd
diff options
context:
space:
mode:
authorSimon Westphahl <simon.westphahl@bmw.de>2021-11-08 14:12:40 +0100
committerFelix Edel <felix.edel@bmw.de>2021-11-10 09:49:48 +0100
commit59edeaf3d10d6b0115475793135b9032109cf986 (patch)
treeec7050c427a251989ef7d1de23f9c29d5d3ee2c0 /zuul/cmd
parent660b4237ae9c2d26721ca06a78cbfd8b96bf4ccd (diff)
downloadzuul-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-xzuul/cmd/web.py1
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)