mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 07:28:30 +03:00
Make initial federation result send just the last 100 messages.
This commit is contained in:
parent
6c50eb8af6
commit
cfd52cc2ae
@ -2192,9 +2192,9 @@
|
|||||||
:: only auto-federate channels for now.
|
:: only auto-federate channels for now.
|
||||||
?. ?=($channel sec.con.shape.s) ~
|
?. ?=($channel sec.con.shape.s) ~
|
||||||
:+ ~ n
|
:+ ~ n
|
||||||
:: share no more than 2k messages at once, for performance reasons.
|
:: share no more than the last 100, for performance reasons.
|
||||||
:+ ?: (lte count.s 2.000) grams.s
|
:+ ?: (lte count.s 100) grams.s
|
||||||
(slag (sub count.s 2.000) grams.s)
|
(slag (sub count.s 100) grams.s)
|
||||||
[shape.s mirrors.s]
|
[shape.s mirrors.s]
|
||||||
[locals.s remotes.s]
|
[locals.s remotes.s]
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user