mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
ames: condense message size calculation
Co-authored-by: fang <git@fang.io>
This commit is contained in:
parent
953273004a
commit
d2ea33ddfe
@ -2192,8 +2192,9 @@
|
|||||||
=. acc
|
=. acc
|
||||||
%+ add acc
|
%+ add acc
|
||||||
%+ add
|
%+ add
|
||||||
=- (roll - add)
|
%+ roll ~(tap to unsent-messages.i.pumps)
|
||||||
(turn ~(tap to unsent-messages.i.pumps) |=(b=@ (met 3 b)))
|
|= [a=@ b=@ud]
|
||||||
|
(add b (met 3 a))
|
||||||
?~ unsent-fragments.i.pumps
|
?~ unsent-fragments.i.pumps
|
||||||
0
|
0
|
||||||
(met 3 fragment.i.unsent-fragments.i.pumps)
|
(met 3 fragment.i.unsent-fragments.i.pumps)
|
||||||
|
Loading…
Reference in New Issue
Block a user