mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-23 09:43:47 +03:00
Merge pull request #7063 from urbit/pkova/really-nuke
gall: delete agent blocked moves on |nuke
This commit is contained in:
commit
425655a8e0
@ -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 {<num-movs>} blocked moves for {<dap>}"
|
||||
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 {<dap>}, not running"
|
||||
|
Loading…
Reference in New Issue
Block a user