Looks like 20K is about the current upper limit in the wild

merge-requests/30/head
Bob Mottram 2024-02-18 15:20:07 +00:00
parent d45652b27b
commit b4e163ce50
1 changed files with 1 additions and 1 deletions

View File

@ -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