Skip to content

Appservice API /_matrix/app/v1/transactions/ should specify maximum transaction sizes #1469

Open
matrix-org/matrix-spec-proposals
#3982
@Half-Shot

Description

@Half-Shot

This means we should specify a maximum limit on the number of events sent. Unstable MSCs for Appservices such as:

Will need to also specify their maximum sizes. This is needed because most HTTP listeners will specify a maximum body size for incoming requests, and in practice this is often exceeded when the AS receives a lot of traffic at once. For example, Nginx defaults to 1MB and while we shouldn't arbitrarily restrict the spec to what nginx supports, it's clear that an unlimited number of events will cause great pain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Application-ServicesIssues affecting the AS APIwartA point where the protocol is inconsistent or inelegant

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions