mirror of
https://github.com/caronc/apprise.git
synced 2025-01-17 11:29:00 +01:00
increased Matrix message size to 65000 chars
This commit is contained in:
parent
093cc272b1
commit
58f9e64843
@ -135,7 +135,14 @@ class NotifyMatrix(NotifyBase):
|
|||||||
image_size = NotifyImageSize.XY_32
|
image_size = NotifyImageSize.XY_32
|
||||||
|
|
||||||
# The maximum allowable characters allowed in the body per message
|
# The maximum allowable characters allowed in the body per message
|
||||||
body_maxlen = 1000
|
# https://spec.matrix.org/v1.6/client-server-api/#size-limits
|
||||||
|
# The complete event MUST NOT be larger than 65536 bytes, when formatted
|
||||||
|
# with the federation event format, including any signatures, and encoded
|
||||||
|
# as Canonical JSON.
|
||||||
|
#
|
||||||
|
# To gracefully allow for some overhead' we'll define a max body length
|
||||||
|
# of just slighty lower then the limit of the full message itself.
|
||||||
|
body_maxlen = 65000
|
||||||
|
|
||||||
# Throttle a wee-bit to avoid thrashing
|
# Throttle a wee-bit to avoid thrashing
|
||||||
request_rate_per_sec = 0.5
|
request_rate_per_sec = 0.5
|
||||||
|
Loading…
Reference in New Issue
Block a user