Merge pull request #2921 from urbit/ted/ames-trim

zuse,ames: handle %trim task
This commit is contained in:
Philip Monk 2020-05-21 01:33:28 -07:00 committed by GitHub
commit cb74649bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66c71e256923835bf9aee19f6bf7ea301f187230fe9cb4d7c695a98cb612019b
size 12884154
oid sha256:ba784d2d76c114ecf955e8e095aaf04d39689fecb302ab41f9e17cb4b16f8db6
size 12898385

View File

@ -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
::

View File

@ -410,6 +410,7 @@
$>(%init vane-task)
[%sift ships=(list ship)]
[%spew veb=(list verb)]
$>(%trim vane-task)
$>(%vega vane-task)
$>(%wegh vane-task)
==