未验证 提交 d3d5f9bc 编写于 作者: A Andrey Zhavoronkov 提交者: GitHub

Set default TUS chunk size from 100 to 2 MB (#6058)

上级 c657c82b
......@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Docker images no longer include Ubuntu package sources or FFmpeg/OpenH264 sources
(<https://github.com/opencv/cvat/pull/6040>)
- TUS chunk size changed from 100 MB to 2 MB
(<https://github.com/opencv/cvat/pull/6058>)
### Deprecated
- TDB
......
{
"name": "cvat-ui",
"version": "1.50.7",
"version": "1.50.8",
"description": "CVAT single-page application",
"main": "src/index.tsx",
"scripts": {
......
......@@ -28,7 +28,9 @@ const cvat: any = _cvat;
cvat.config.backendAPI = '/api';
cvat.config.origin = window.location.origin;
cvat.config.uploadChunkSize = 100;
// Set the TUS chunk size to 2 MB. A small value works better in case of a slow internet connection.
// A larger value may cause a server-side timeout errors in the current implementation.
cvat.config.uploadChunkSize = 2;
(globalThis as any).cvat = cvat;
function getCore(): any {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册