mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
Merge pull request #2921 from urbit/ted/ames-trim
zuse,ames: handle %trim task
This commit is contained in:
commit
cb74649bb5
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66c71e256923835bf9aee19f6bf7ea301f187230fe9cb4d7c695a98cb612019b
|
||||
size 12884154
|
||||
oid sha256:ba784d2d76c114ecf955e8e095aaf04d39689fecb302ab41f9e17cb4b16f8db6
|
||||
size 12898385
|
||||
|
@ -1094,6 +1094,7 @@
|
||||
%jilt (on-jilt:event-core ship.task)
|
||||
%sift (on-sift:event-core ships.task)
|
||||
%spew (on-spew:event-core veb.task)
|
||||
%trim on-trim:event-core
|
||||
%vega on-vega:event-core
|
||||
%wegh on-wegh:event-core
|
||||
%plea (on-plea:event-core [ship plea]:task)
|
||||
@ -1863,8 +1864,10 @@
|
||||
(scry-gate [%141 %noun] ~ %j `beam`[[our %turf %da now] /])
|
||||
::
|
||||
(emit unix-duct.ames-state %give %turf turfs)
|
||||
:: +on-trim: handle request to free memory
|
||||
:: +on-vega: handle kernel reload
|
||||
::
|
||||
++ on-trim event-core
|
||||
++ on-vega event-core
|
||||
:: +enqueue-alien-todo: helper to enqueue a pending request
|
||||
::
|
||||
|
@ -410,6 +410,7 @@
|
||||
$>(%init vane-task)
|
||||
[%sift ships=(list ship)]
|
||||
[%spew veb=(list verb)]
|
||||
$>(%trim vane-task)
|
||||
$>(%vega vane-task)
|
||||
$>(%wegh vane-task)
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user