Skip to content

Commit 8769378

Browse files
Apply suggestions from code review
Co-authored-by: Yaacov Rydzinski <[email protected]>
1 parent 814efb8 commit 8769378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/language/parser.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ export interface ParseOptions {
8585
/**
8686
* Parser CPU and memory usage is linear to the number of tokens in a document
8787
* however in extreme cases it becomes quadratic due to memory exhaustion.
88-
* Parsing happens before validation so even invalid queries can burn a lots of
88+
* Parsing happens before validation so even invalid queries can burn lots of
8989
* CPU time and memory.
90-
* To prevent this you can set limit on maximum number of tokens.
90+
* To prevent this you can set a maximum number of tokens allowed within a document.
9191
*/
9292
maxTokens?: number | undefined;
9393

0 commit comments

Comments
 (0)