mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 07:35:19 +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
|
||||
%+ add acc
|
||||
%+ add
|
||||
=- (roll - add)
|
||||
(turn ~(tap to unsent-messages.i.pumps) |=(b=@ (met 3 b)))
|
||||
%+ roll ~(tap to unsent-messages.i.pumps)
|
||||
|= [a=@ b=@ud]
|
||||
(add b (met 3 a))
|
||||
?~ unsent-fragments.i.pumps
|
||||
0
|
||||
(met 3 fragment.i.unsent-fragments.i.pumps)
|
||||
|
Loading…
Reference in New Issue
Block a user