From 6234b56ac1a63805a0fb18e275b652ea1916fc4c Mon Sep 17 00:00:00 2001 From: Ted Blackman Date: Wed, 20 Jan 2021 15:29:45 -0500 Subject: [PATCH] ames: cache message +jam in +on-memo --- pkg/arvo/sys/vane/ames.hoon | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index 64d410698..ad799da54 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -180,6 +180,9 @@ $(index +(index), sorted [(~(got by fragments) index) sorted]) :: (cue (rep 13 (flop sorted))) +:: +jim: caching +jam +:: +++ jim |=(n=* ~+((jam n))) :: +bind-duct: find or make new $bone for .duct in .ossuary :: ++ bind-duct @@ -1931,7 +1934,7 @@ == now :: - =/ =message-blob (dedup-message (jam payload)) + =/ =message-blob (dedup-message (jim payload)) =. peer-core (run-message-pump bone %memo message-blob) :: ?: &(=(%boon valence) ?=(?(%dead %unborn) -.qos.peer-state))