From 4c8a4ecb0e7909d5f349d54aeee6632ff8d35e2e Mon Sep 17 00:00:00 2001 From: yosoyubik Date: Thu, 30 Jun 2022 17:06:22 +0200 Subject: [PATCH] gall: run +ap-kill-down only once --- pkg/arvo/sys/vane/gall.hoon | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkg/arvo/sys/vane/gall.hoon b/pkg/arvo/sys/vane/gall.hoon index 2c92a0554a..f7cf9ced41 100644 --- a/pkg/arvo/sys/vane/gall.hoon +++ b/pkg/arvo/sys/vane/gall.hoon @@ -221,12 +221,15 @@ =^ tan ap-core (ap-install:ap-core `p.old-state.egg.i.apps) ?^ tan (mean u.tan) - =/ boats=(list [=wire =dock]) - ~(tap in ~(key by boat.egg.i.apps)) - |- ^+ ap-core - ?~ boats ap-core - =/ [=wire =dock] i.boats - $(boats t.boats, ap-core (ap-kill-down:ap-core wire dock)) + =? ap-core =(%8 -.spore) + ~> %slog.[0 leaf+"gall: running +ap-kill-down"] + =/ boats=(list [=wire =dock]) + ~(tap in ~(key by boat.egg.i.apps)) + |- ^+ ap-core + ?~ boats ap-core + =/ [=wire =dock] i.boats + $(boats t.boats, ap-core (ap-kill-down:ap-core wire dock)) + ap-core $(apps t.apps, mo-core ap-abet:ap-core) =. mo-core (mo-subscribe-to-agent-builds:mo-core now) =^ moves adult-gate mo-abet:mo-core