Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import treeSitterJson from '../../wasm/tree-sitter-json.wasm';
let parser: Parser | null = null;
let parserInitLock: Promise<Parser> | null = null;
const activeTrees: Set<Tree> = new Set();
const MAX_ACTIVE_TREES = 5;
const MAX_ACTIVE_TREES = 10;

/**
* Lexical Analysis of source string using WebTreeSitter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ApiDOMError } from '@swagger-api/apidom-error';
let parser: Parser | null = null;
let parserInitLock: Promise<Parser> | null = null;
const activeTrees: Set<Tree> = new Set();
const MAX_ACTIVE_TREES = 5;
const MAX_ACTIVE_TREES = 10;

const createAnalyze =
(treeSitterYaml: string | Uint8Array) =>
Expand Down
Loading