Change collection item fetch-page from 5 to 50 (#1732)

In `doResolveUri`, if the `uri` is a collection, it will attempt to fetch all items in the collection.

Can't think of any special reason to keep the page-size small, and not seeing any notes in the commits either. It just ends up making several `claim_search` of 5's until all items are fetched.
This commit is contained in:
infinite-persistence 2022-06-22 20:04:22 +08:00 committed by GitHub
parent 86fcd87f53
commit e2166b6f03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ export function doResolveUris(
});
if (collectionIds.length) {
dispatch(doFetchItemsInCollections({ collectionIds: collectionIds, pageSize: 5 }));
dispatch(doFetchItemsInCollections({ collectionIds: collectionIds, pageSize: 50 }));
}
return result;