mirror of https://gitlab.com/bashrc2/epicyon
Looks like 20K is about the current upper limit in the wild
parent
d45652b27b
commit
b4e163ce50
2
inbox.py
2
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
|
||||
|
|
Loading…
Reference in New Issue