Skip to content

feat: increase message size from 30 to 50 mb gross - #1052

Open
r10s wants to merge 1 commit into
mainfrom
r10s/increase-message-size
Open

r10s wants to merge 1 commit into
mainfrom
r10s/increase-message-size

Conversation

@r10s

@r10s r10s commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

as discussed internally, this PR allows attachments and videos of about 38 mb net (50 mb gross).

once relays are sufficiently updated 1, core will pick up the new default (core currently uses 18 mb only, an old default of non-chatmail-era)

this is quite some boost in quality or video length, roughly a doubling, while still being reasonably to overall storage
(with this PR we alllow a single message taking up to 1/10th of storage - when chatmail was started, this was even 1/3rd.
note, that large files may be deleted quickly to free up space, but there will add a pre-message still)

Footnotes

  1. i set myself a calendar reminder in 2 month to update core values :)

this PR allows attachments and videos of about 38 mb net (50 mb gross).

once relays are sufficiently updated, core will pick up the new default
(core currently uses 18 mb only, an old default of non-chatmail-era)

this is quite some boost in quality or video length, roughly a doubling,
which still being reasonably to overall storage
(with this PR we alllow a single message taking up to 1/10th of storage -
when chatmail was started, this was even 1/3rd.
note, that too large files will be deleted, but there will add a pre-message still)
@r10s
r10s requested a review from hpk42 September 14, 2026 20:19

@missytake missytake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable :)

@missytake

Copy link
Copy Markdown
Contributor

Note that many older instances will have the old value hardcoded though, as it used to be uncommented in the chatmail.ini. When this is merged, we should ping relay operators to increase max_message_size.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants