Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Appservice transactions should be limited in size, spanning multiple transactions if needed #3536

@turt2live

Description

@turt2live

After ~7 hours of the appservice sender being down on t2bot.io, it was fixed. As a result, it tried to send a transaction that had 2865 events in it to an appservice. The appservice was behind a reverse proxy with a maximum request size that prevented the giant transaction from making it through.

It would be nice if synapse limited the transaction size to something in the hundreds. Potentially, it'd be event nicer if synapse/the spec reacted the 413 Request Too Large and made efforts to shrink the transaction size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions