Merge pull request #943 from jessopb/fileWaitFix
fixes swapped timeout interval values and makes ready-size more conservative
This commit is contained in:
commit
665b60d03b
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const claimGet = async ({ ip, originalUrl, params }, res) => {
|
|||
if (!claimData) {
|
||||
throw new Error('claim/get: getClaimData failed to get file blobs');
|
||||
}
|
||||
const fileReady = await awaitFileSize(lbrynetResult.outpoint, 2000000, 10000, 250);
|
||||
const fileReady = await awaitFileSize(lbrynetResult.outpoint, 10000000, 250, 10000);
|
||||
|
||||
if (fileReady !== 'ready') {
|
||||
throw new Error('claim/get: failed to get file after 10 seconds');
|
||||
|
|
Loading…
Reference in a new issue