Use larger batches for faster search.
This commit is contained in:
parent
9691e7b456
commit
e3f96f34c9
@ -76,6 +76,8 @@ fn search_media_items(
|
|||||||
.media_items()
|
.media_items()
|
||||||
.search(SearchMediaItemsRequest {
|
.search(SearchMediaItemsRequest {
|
||||||
album_id: Some(album_id.clone()),
|
album_id: Some(album_id.clone()),
|
||||||
|
// 100 is the documented max.
|
||||||
|
page_size: Some(100),
|
||||||
page_token,
|
page_token,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user