TUS: reduce chunk size from 100MB to 25MB.
The stalling behavior has changed a bit, probably with the removal of CF. The stall difference between 10MB and 50MB is not too noticable, so picking 25MB as a start.
This commit is contained in:
parent
314b63705d
commit
d48a7c7295
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import { LBRY_WEB_PUBLISH_API_V2 } from 'config';
|
||||||
|
|
||||||
const RESUMABLE_ENDPOINT = LBRY_WEB_PUBLISH_API_V2;
|
const RESUMABLE_ENDPOINT = LBRY_WEB_PUBLISH_API_V2;
|
||||||
const RESUMABLE_ENDPOINT_METHOD = 'publish';
|
const RESUMABLE_ENDPOINT_METHOD = 'publish';
|
||||||
const UPLOAD_CHUNK_SIZE_BYTE = 100000000;
|
const UPLOAD_CHUNK_SIZE_BYTE = 25000000;
|
||||||
|
|
||||||
const STATUS_CONFLICT = 409;
|
const STATUS_CONFLICT = 409;
|
||||||
const STATUS_LOCKED = 423;
|
const STATUS_LOCKED = 423;
|
||||||
|
|
Loading…
Reference in a new issue