Commit eedd3e12be4658709953cc735438aec88a79819e
Explain message size limit
Based on text by Kyle Mass: https://github.com/ssbc/scuttlebot.io/issues/20#issuecomment-778633680Charles E. Lehner committed on 2/21/2021, 7:21:04 PM
Parent: b72c94944c9c795aeef1cbefdb10b02c78a3bd5d
Files changed
tmpl/docs/message-types/post.md | changed |
tmpl/docs/message-types/post.md | |||
---|---|---|---|
@@ -2,9 +2,9 @@ | |||
2 | 2 … | ||
3 | 3 … | A post is a text-based message, for a public or private audience. | |
4 | 4 … | It can be a reply to other posts. | |
5 | 5 … | ||
6 | -There's not a limit on the length of the text, but all Scuttlebot messages (including their headers) must be less than 8KB. | ||
6 … | +There's not a limit on the length of the text, but all Scuttlebot messages (including their headers) should be no longer than 8KiB (8192 bytes) for compatibility. However, due to a quirk in validation of some implementations, messages up to 8192 UTF-8 characters must be tolerated. | ||
7 | 7 … | ||
8 | 8 … | ```js | |
9 | 9 … | { | |
10 | 10 … | type: 'post', |
Built with git-ssb-web