mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 01:01:37 +03:00
azimuth: give backlog on %watch
This commit is contained in:
parent
1db1819d4d
commit
42410a708d
@ -146,7 +146,13 @@
|
|||||||
~
|
~
|
||||||
(~(put in whos.state) u.who)
|
(~(put in whos.state) u.who)
|
||||||
^- (quip card _this)
|
^- (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-leave on-leave:def
|
||||||
++ on-peek
|
++ on-peek
|
||||||
|
Loading…
Reference in New Issue
Block a user