feat: increase sys.msgsize_max_recommended to match chatmail message size limit

This also affects maximum number of webxdc updates attached to the message.
This commit is contained in:
link2xt
2026-09-10 09:13:53 +00:00
committed by l
parent 51b6d50a22
commit 58b5f5d0f4
2 changed files with 14 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ def test_webxdc(acf, rpcdata) -> None:
"isAppSender": False,
"isBroadcast": False,
"sendUpdateInterval": 1000,
"sendUpdateMaxSize": 18874368,
"sendUpdateMaxSize": 2**20 * (30 - 1) * 3 // 4,
}
status_updates = message.get_webxdc_status_updates()