Skip to content

Commit c211c9f

Browse files
committed
add MAX_CHUNK_SIZE constant for info
1 parent 352d386 commit c211c9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/hub/src/utils/createXorbs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { bg4_split_bytes, XET_CHUNK_HEADER_BYTES, XetChunkCompressionScheme } fr
88
import { compress as lz4_compress } from "../vendor/lz4js";
99

1010
const TARGET_CHUNK_SIZE = 64 * 1024;
11+
/* eslint-disable @typescript-eslint/no-unused-vars */
12+
const MAX_CHUNK_SIZE = 2 * TARGET_CHUNK_SIZE;
1113
const XORB_SIZE = 64 * 1024 * 1024;
1214
const MAX_XORB_CHUNKS = 8 * 1024;
1315

0 commit comments

Comments
 (0)