From 42410a708d9558798faf8f54acc8ed64f2c3ae91 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Tue, 9 Nov 2021 00:42:34 -0800 Subject: [PATCH] azimuth: give backlog on %watch --- pkg/arvo/app/azimuth.hoon | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/app/azimuth.hoon b/pkg/arvo/app/azimuth.hoon index 37763d3e3b..d9d69c4d55 100644 --- a/pkg/arvo/app/azimuth.hoon +++ b/pkg/arvo/app/azimuth.hoon @@ -146,7 +146,13 @@ ~ (~(put in whos.state) u.who) ^- (quip card _this) - [start:do this] + :: Slow to recalculate all the diffs, but this is necessary to make + :: sure Jael gets the updates from the snapshot + :: + %- %- slog :_ ~ + leaf+"azimuth: loading snapshot with {<(lent logs.state)>} events" + =/ res (%*(run-logs do nas.state *^state:naive) logs.state) + [(weld (jael-update:do (to-udiffs:do -.res)) start:do) this] :: ++ on-leave on-leave:def ++ on-peek