MatrixSynapse/synapse/config
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
__main__.py Use syntax that works on both py2.7 and py3 2016-03-07 20:13:10 +00:00
_base.py Add support for durations in minutes 2016-11-12 00:10:23 -08:00
api.py config,handlers/_base: added homeserver config for what state is included in a room invite 2016-03-04 10:43:17 +01:00
appservice.py Allow Configurable Rate Limiting Per AS 2016-10-18 17:04:09 +01:00
captcha.py point to the CAPTCHA docs 2016-06-12 23:11:29 +01:00
cas.py copyrights 2016-01-07 04:26:29 +00:00
database.py copyrights 2016-01-07 04:26:29 +00:00
emailconfig.py Support authenticated SMTP 2017-04-05 21:01:08 -07:00
homeserver.py Implement pluggable password auth 2016-10-03 10:36:40 +01:00
jwt.py Make pyjwt dependency optional 2016-04-25 14:30:15 +01:00
key.py Create user with expiry 2016-05-13 15:34:15 +02:00
logger.py Add helpful texts to logger config options 2017-03-13 12:33:35 +00:00
metrics.py copyrights 2016-01-07 04:26:29 +00:00
password.py Update password config comment 2016-07-06 12:18:19 +09:00
password_auth_providers.py Use external ldap auth pacakge 2016-11-15 13:03:19 +00:00
ratelimiting.py copyrights 2016-01-07 04:26:29 +00:00
registration.py trust a hypothetical future riot.im IS 2017-04-10 17:58:36 +01:00
repository.py default config: blacklist more internal ips 2016-11-06 17:02:25 -08:00
saml2.py Add config option to disable password login 2015-10-22 10:37:04 +01:00
server.py Configurable maximum number of events requested by /sync and /messages (#2220) 2017-05-13 18:17:54 +02:00
tls.py Fix typo in config comments. 2017-02-11 23:02:57 -08:00
voip.py typo 2017-03-15 12:40:42 +00:00
workers.py Remove unused worker config option 2017-04-04 11:17:00 +01:00