Skip to content

Commit 7c67cd9

Browse files
authored
[CORE-520] Change tsv upload threshold to 10MB (#5448)
1 parent 6542c2e commit 7c67cd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libs/ajax/data-table-providers/EntityServiceDataTableProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ export class EntityServiceDataTableProvider implements DataTableProvider {
111111
return workspace.importEntitiesFile(uploadParams.file, { deleteEmptyValues: uploadParams.deleteEmptyValues });
112112
}
113113
const filesize = uploadParams.file?.size || Number.MAX_SAFE_INTEGER;
114-
if (filesize < 524288) {
115-
// 512k
114+
if (filesize < 10485760) {
115+
// 10MB
116116
return workspace.importFlexibleEntitiesFileSynchronous(uploadParams.file, {
117117
deleteEmptyValues: uploadParams.deleteEmptyValues,
118118
});

0 commit comments

Comments
 (0)