forked from wathiede/photosync
Use larger batches for faster search.
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user