From 6344a8441dd609cb58a4fb28490499ed480c4534 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Fri, 5 Jun 2020 17:59:31 -0700 Subject: [PATCH] jael: always restart subscription to breached ship --- bin/solid.pill | 4 ++-- pkg/arvo/sys/vane/jael.hoon | 14 +++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/bin/solid.pill b/bin/solid.pill index 30d0e94e1d..2851e6e178 100644 --- a/bin/solid.pill +++ b/bin/solid.pill @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dd9ee3401fd2a29fc49ef84aa51754be5929f2cddbb7e378ffac4641695e886c -size 13838435 +oid sha256:46d79f0b3dc1c4ff5f7ca56f1601a26a0fbc67540ab0ebcc672dc282fe8bbe74 +size 13825786 diff --git a/pkg/arvo/sys/vane/jael.hoon b/pkg/arvo/sys/vane/jael.hoon index fd024cdc23..4bd3a44630 100644 --- a/pkg/arvo/sys/vane/jael.hoon +++ b/pkg/arvo/sys/vane/jael.hoon @@ -883,9 +883,17 @@ ?=(%rift -.a-diff) (gth to.a-diff rift.point) == - %+ public-keys-give - (subscribers-on-ship who) - [%breach who] + =. ..feel + %+ public-keys-give + (subscribers-on-ship who) + [%breach who] + =/ sor (~(get by sources-reverse) %& who) + ?~ sor + ..feel + :: delay resubscribing because Ames is going to clear any + :: messages we send now. + :: + (emit hen %pass /breach/(scot %ud u.sor) %b %wait now) :: =. point ?- -.a-diff