Skip to content

Commit

Permalink
terminate it
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Mar 3, 2019
1 parent 6d37c18 commit 888a610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/USING_ADVANCED.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ In both examples, `code` is a `string` representing the section of code to pass

<h2 id="workers">Workers</h2>

To prevent ReDoS attacks you can run marked on a worker and shut it down when parsing takes longer than usual.
To prevent ReDoS attacks you can run marked on a worker and terminate it when parsing takes longer than usual.

Marked can be run in a [worker thread](https://nodejs.org/api/worker_threads.html) on a node server, or a [web worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) in a browser.

Expand Down

0 comments on commit 888a610

Please sign in to comment.