From b4e163ce50718d5ae5a20107413a7de92e229652 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Feb 2024 15:20:07 +0000 Subject: [PATCH] Looks like 20K is about the current upper limit in the wild --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 27323cf4b..b93b73065 100644 --- a/inbox.py +++ b/inbox.py @@ -688,7 +688,7 @@ def save_post_to_inbox_queue(base_dir: str, http_prefix: str, """Saves the given json to the inbox queue for the person key_id specifies the actor sending the post """ - if len(message_bytes) > 10240: + if len(message_bytes) > 20000: print('REJECT: inbox message too long ' + str(len(message_bytes)) + ' bytes') return None