mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 03:00:15 +03:00
Merge pull request #6413 from urbit/i/6407/zeal
clay: stop failed kelvin upgrades from retrying immediately
This commit is contained in:
commit
cb819b2091
@ -583,15 +583,13 @@
|
||||
..abet
|
||||
=/ kel i.wic
|
||||
%- emil
|
||||
=/ cards
|
||||
=/ desks=(list [=desk =zest])
|
||||
%+ murn ~(tap by rock)
|
||||
|= [=desk =zest wic=(set weft)]
|
||||
?: |(=(%base desk) !?=(%live zest) (~(has in wic) kel))
|
||||
~
|
||||
`u=[%pass /kiln/bump/[desk] %arvo %c %zest desk %held]
|
||||
?~ cards
|
||||
[%pass /kiln/bump/wick %arvo %c %wick ~]~
|
||||
cards
|
||||
`u=[desk %held]
|
||||
[%pass /kiln/bump/zeal %arvo %c %zeal desks]~
|
||||
::
|
||||
++ poke-cancel
|
||||
|= a=@tas
|
||||
|
@ -799,6 +799,7 @@
|
||||
[%warp wer=ship rif=riff] :: internal file req
|
||||
[%werp who=ship wer=ship rif=riff-any] :: external file req
|
||||
[%wick ~] :: try upgrade
|
||||
[%zeal lit=(list [=desk =zest])] :: batch zest
|
||||
[%zest des=desk liv=zest] :: live
|
||||
$>(%plea vane-task) :: ames request
|
||||
== ::
|
||||
|
@ -4970,9 +4970,22 @@
|
||||
::
|
||||
%wick
|
||||
=^ mos ruf
|
||||
=/ den ((de now rof hen ruf) our %base)
|
||||
abet:wick:den :: [wick]
|
||||
abet:wick:((de now rof hen ruf) our %base) :: [wick]
|
||||
[mos ..^$]
|
||||
::
|
||||
%zeal
|
||||
=^ m1 ruf
|
||||
=| mos=(list move)
|
||||
|- ^+ [mos ruf]
|
||||
?~ lit.req
|
||||
[mos ruf]
|
||||
=/ den ((de now rof hen ruf) our desk.i.lit.req)
|
||||
=^ mos-new ruf abet:(set-zest:den zest.i.lit.req)
|
||||
$(mos (weld mos mos-new), lit.req t.lit.req)
|
||||
=^ m2 ruf
|
||||
abet:wick:((de now rof hen ruf) our %base)
|
||||
=^ m3 ruf abet:goad:(lu now rof hen ruf)
|
||||
[:(weld m1 m2 m3) ..^$]
|
||||
::
|
||||
%zest
|
||||
=^ m1 ruf
|
||||
|
Loading…
Reference in New Issue
Block a user