Compare commits

...

2 commits

Author SHA1 Message Date
62d5b5c770
increase backfill limit 2024-08-18 06:00:26 -07:00
be2f7b695b
increase message export length 2024-07-26 19:18:54 -07:00
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ pub async fn get_message_events_route(
.lazy_load_confirm_delivery(sender_user, sender_device, &body.room_id, from)
.await?;
let limit = u64::from(body.limit).min(100) as usize;
let limit = u64::from(body.limit).min(2000) as usize;
let next_token;

View file

@ -1187,7 +1187,7 @@ impl Service {
federation::backfill::get_backfill::v1::Request {
room_id: room_id.to_owned(),
v: vec![first_pdu.1.event_id.as_ref().to_owned()],
limit: uint!(100),
limit: uint!(1000),
},
)
.await;