Update context.js
Fix queue size
This commit is contained in:
parent
e64d86c1eb
commit
c5504c4807
@ -114,7 +114,7 @@ export default class TraversalContext {
|
|||||||
// this path no longer belongs to the tree
|
// this path no longer belongs to the tree
|
||||||
if (path.key === null) continue;
|
if (path.key === null) continue;
|
||||||
|
|
||||||
if (testing && queue.length >= 1000) {
|
if (testing && queue.length >= 10000) {
|
||||||
this.trap = true;
|
this.trap = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user