Bump from 50 to 500 latest entries per creation_timestamp

This commit is contained in:
infinite-persistence 2021-07-09 16:06:28 +08:00
parent da8000303b
commit f6641ee045
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -6,6 +6,8 @@ const SDK_API_PATH = `${LBRY_WEB_API}/api/v1`;
const proxyURL = `${SDK_API_PATH}/proxy`;
Lbry.setDaemonConnectionString(proxyURL);
const NUM_ENTRIES = 500;
async function doClaimSearch(options) {
let results;
try {
@ -59,7 +61,7 @@ async function getFeed(channelClaim) {
const feed = new Feed(options);
const latestClaims = await getClaimsFromChannel(channelClaim.claim_id, 50);
const latestClaims = await getClaimsFromChannel(channelClaim.claim_id, NUM_ENTRIES);
latestClaims.forEach((c) => {
const meta = c.meta;