server: Lower the sync limit.
This commit is contained in:
parent
71b7f79317
commit
8b5ae9d80d
1 changed files with 2 additions and 2 deletions
|
@ -852,7 +852,7 @@ class MatrixServer(object):
|
||||||
timeout = 0 if self.transport_type == TransportType.HTTP else 30000
|
timeout = 0 if self.transport_type == TransportType.HTTP else 30000
|
||||||
sync_filter = {
|
sync_filter = {
|
||||||
"room": {
|
"room": {
|
||||||
"timeline": {"limit": 5000},
|
"timeline": {"limit": limit},
|
||||||
"state": {"lazy_load_members": True}
|
"state": {"lazy_load_members": True}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1968,7 +1968,7 @@ def matrix_timer_cb(server_name, remaining_calls):
|
||||||
timeout = 0 if server.transport_type == TransportType.HTTP else 30000
|
timeout = 0 if server.transport_type == TransportType.HTTP else 30000
|
||||||
sync_filter = {
|
sync_filter = {
|
||||||
"room": {
|
"room": {
|
||||||
"timeline": {"limit": 5000},
|
"timeline": {"limit": 500},
|
||||||
"state": {"lazy_load_members": True}
|
"state": {"lazy_load_members": True}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue