Skip to content

Commit

Permalink
chore: add split cell data interval (#2593)
Browse files Browse the repository at this point in the history
* chore: modify FRAGMENT_ROW_COUNT = 256*20
  • Loading branch information
McDonald755 authored Jun 22, 2024
1 parent 3ea2b74 commit 2d5de98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/services/snapshot/snapshot-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function decodeDocOriginalMeta(buffer: Uint8Array | string): Partial<IDoc
return JSON.parse(textDecoder.decode(buffer));
}

const FRAGMENT_ROW_COUNT = 256;
const FRAGMENT_ROW_COUNT = 256 * 20;
export function splitCellDataToBlocks(
cellData: IObjectMatrixPrimitiveType<ICellData>,
maxColumn: number
Expand Down

0 comments on commit 2d5de98

Please sign in to comment.