fix(fe/chunk_uploader): retry limits are too great to reach

This commit is contained in:
hexxa 2022-03-19 19:46:08 +08:00 committed by Hexxa
parent 48cabf9a71
commit ddca44c786
2 changed files with 4 additions and 4 deletions

View file

@ -13,9 +13,9 @@ const defaultChunkLen = 1024 * 1024 * 1;
const speedDownRatio = 0.5;
const speedUpRatio = 1.1;
const chunkLimit = 1024 * 1024 * 50; // 50MB
const createRetryLimit = 1024;
const uploadRetryLimit = 1024;
const readRetryLimit = 8;
const createRetryLimit = 16;
const uploadRetryLimit = 16;
const readRetryLimit = 16;
const backoffMax = 5000;
export interface ReaderResult {