From 6d97c80d68bff35f98a7dded11062b2866d0f480 Mon Sep 17 00:00:00 2001 From: Pyry Kovanen Date: Sun, 25 Aug 2024 19:23:09 +0300 Subject: [PATCH] gall: delete agent blocked moves on |nuke --- pkg/arvo/sys/vane/gall.hoon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/arvo/sys/vane/gall.hoon b/pkg/arvo/sys/vane/gall.hoon index f722b18c1..6aaab06dc 100644 --- a/pkg/arvo/sys/vane/gall.hoon +++ b/pkg/arvo/sys/vane/gall.hoon @@ -957,6 +957,10 @@ ++ mo-nuke |= [prov=path dap=dude] ^+ mo-core + =? mo-core (~(has by blocked.state) dap) + =/ num-movs=@ ~(wyt by (~(got by blocked.state) dap)) + ~> %slog.0^leaf/"gall: deleted {} blocked moves for {}" + mo-core(blocked.state (~(del by blocked.state) dap)) =/ yoke=(unit yoke) (~(get by yokes.state) dap) ?: |(?=(~ yoke) ?=(%nuke -.u.yoke)) ~> %slog.0^leaf/"gall: ignoring %nuke for {}, not running"