anonymousland-synapse/synapse/rest/client
Pablo Saavedra 9da4316ca5 Configurable maximum number of events requested by /sync and /messages (#2220)
Set the limit on the returned events in the timeline in the get and sync
operations. The default value is -1, means no upper limit.

For example, using `filter_timeline_limit: 5000`:

POST /_matrix/client/r0/user/user:id/filter
{
room: {
    timeline: {
      limit: 1000000000000000000
    }
}
}

GET /_matrix/client/r0/user/user:id/filter/filter:id

{
room: {
    timeline: {
      limit: 5000
    }
}
}

The server cuts down the room.timeline.limit.
2017-05-13 18:17:54 +02:00
..
v1 Add more granular event send metrics 2017-05-02 14:23:26 +01:00
v2_alpha Configurable maximum number of events requested by /sync and /messages (#2220) 2017-05-13 18:17:54 +02:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
transactions.py Ordering is important on errbacks so add the cleanup func before creating an ObservableDeferred 2017-02-13 13:49:44 +00:00
versions.py Add r0.1.0 to the "supported versions" list 2016-07-28 10:14:07 +01:00