From 888a610a2f57691759f14927deff0bd263e818e1 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Sat, 2 Mar 2019 23:55:07 -0600 Subject: [PATCH] terminate it --- docs/USING_ADVANCED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/USING_ADVANCED.md b/docs/USING_ADVANCED.md index 4060135036..f600e121c1 100644 --- a/docs/USING_ADVANCED.md +++ b/docs/USING_ADVANCED.md @@ -79,7 +79,7 @@ In both examples, `code` is a `string` representing the section of code to pass

Workers

-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.