reduces channel loadtimes, fixes fallback fileExt #847

Merged
jessopb merged 1 commit from getClaimPreviewData into master 2018-12-19 23:19:14 +01:00
jessopb commented 2018-12-19 08:24:16 +01:00 (Migrated from github.com)

Previously, getChannelClaims would, already having a channelName and channelShortId, ask getClaimData to parse some data, and getClaimData was claling chainquery twice for channelName and channelShortId.

Now, getClaimData has optional channelName and channelShortId params.

Loadin of minutephysics decreased from 12 seconds to under 4 seconds. Loading of FTL decreased from 25 seconds to under 5 seconds.

lbrynet get is no longer called during getChannelClaims; rather only once on loading actual content.

Please test.

Previously, getChannelClaims would, already having a channelName and channelShortId, ask getClaimData to parse some data, and getClaimData was claling chainquery twice for channelName and channelShortId. Now, getClaimData has optional channelName and channelShortId params. Loadin of minutephysics decreased from 12 seconds to under 4 seconds. Loading of FTL decreased from 25 seconds to under 5 seconds. lbrynet get is no longer called during getChannelClaims; rather only once on loading actual content. Please test.
skhameneh (Migrated from github.com) approved these changes 2018-12-19 23:19:05 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/spee.ch#847
No description provided.