File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export function defaultDdxOptions(): DdxOptions {
5252 analyzers : [ ] ,
5353 analyzerOptions : { } ,
5454 analyzerParams : { } ,
55- length : 0 ,
55+ length : 1 * 1024 * 1024 ,
5656 name : "default" ,
5757 offset : 0 ,
5858 path : "" ,
@@ -259,7 +259,7 @@ Deno.test("mergeDdxOptions", () => {
259259 analyzers : [ ] ,
260260 analyzerOptions : { } ,
261261 analyzerParams : { } ,
262- length : 0 ,
262+ length : 1048576 ,
263263 name : "foo" ,
264264 offset : 0 ,
265265 path : "bar" ,
Original file line number Diff line number Diff line change @@ -75,8 +75,9 @@ analyzerParams
7575length
7676 Specify the file length.
7777 If it is 0, it means full file size.
78+ NOTE: If it is too big, it may be freezed when open big files.
7879
79- Default: 0
80+ Default: 1 * 1024 * 1024 (1MB)
8081
8182 *ddx-option-name*
8283name
You can’t perform that action at this time.
0 commit comments