mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-23 23:12:04 +03:00
ames: ruin comets not seen for six months
This commit is contained in:
parent
bdf9f9d044
commit
1d73558163
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b604b45df0496baf94ac38145c3fc8d4fa9429ae02b49b33a7af4e32ad770db4
|
||||
size 5896517
|
||||
oid sha256:a541a77b28aacb08e917491177e0cecb696d50dbbfa54dff6fb9e2edf41c5a39
|
||||
size 5902114
|
||||
|
@ -733,6 +733,7 @@
|
||||
$% [%private-keys ~]
|
||||
[%public-keys ships=(set ship)]
|
||||
[%turf ~]
|
||||
[%ruin ships=(set ship)]
|
||||
== ==
|
||||
$: @tas
|
||||
$% [%plea =ship =plea]
|
||||
@ -2136,10 +2137,27 @@
|
||||
::
|
||||
(emit unix-duct.ames-state %give %turf turfs)
|
||||
:: +on-vega: handle kernel reload
|
||||
:: +on-trim: handle request to free memory
|
||||
::
|
||||
++ on-vega event-core
|
||||
++ on-trim event-core
|
||||
:: +on-trim: handle request to free memory
|
||||
::
|
||||
:: %ruin comets not seen for six months
|
||||
::
|
||||
++ on-trim
|
||||
^+ event-core
|
||||
=; rui=(set @p)
|
||||
(emit duct %pass /ruin %j %ruin rui)
|
||||
=- (silt (turn - head))
|
||||
%+ skim
|
||||
~(tap by peers.ames-state)
|
||||
|= [=ship s=ship-state]
|
||||
?. &(?=(%known -.s) =(%pawn (clan:title ship))) %.n
|
||||
?& (gth (sub now ~d180) last-contact.qos.s)
|
||||
::
|
||||
%+ levy (turn ~(tap by snd.s) tail)
|
||||
|= m=message-pump-state
|
||||
?~(unsent-fragments.m %.y %.n)
|
||||
==
|
||||
:: +enqueue-alien-todo: helper to enqueue a pending request
|
||||
::
|
||||
:: Also requests key and life from Jael on first request.
|
||||
|
Loading…
Reference in New Issue
Block a user