From 161b57fef5b66a001b76de0122487e4922726fa0 Mon Sep 17 00:00:00 2001 From: jessop Date: Fri, 1 Mar 2019 00:29:45 -0500 Subject: [PATCH] fixes swapped timeout interval values --- server/controllers/api/claim/get/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/api/claim/get/index.js b/server/controllers/api/claim/get/index.js index eadea694..3a0008b0 100644 --- a/server/controllers/api/claim/get/index.js +++ b/server/controllers/api/claim/get/index.js @@ -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');