mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +03:00
9da4316ca5
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. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
_base.py | ||
api.py | ||
appservice.py | ||
captcha.py | ||
cas.py | ||
database.py | ||
emailconfig.py | ||
homeserver.py | ||
jwt.py | ||
key.py | ||
logger.py | ||
metrics.py | ||
password.py | ||
password_auth_providers.py | ||
ratelimiting.py | ||
registration.py | ||
repository.py | ||
saml2.py | ||
server.py | ||
tls.py | ||
voip.py | ||
workers.py |