diff options
author | Andreas Madsen <amwebdk@gmail.com> | 2017-10-19 14:15:08 +0200 |
---|---|---|
committer | Andreas Madsen <amwebdk@gmail.com> | 2017-10-30 11:27:42 +0100 |
commit | 23a3911cb107b0170c0ba803df574007c14ea72c (patch) | |
tree | 1b675eefe4443f6288626adf68feeeddd97b5b73 /doc | |
parent | 571c04b07a855fc4ba8eeb6d6577662d816cab67 (diff) | |
download | android-node-v8-23a3911cb107b0170c0ba803df574007c14ea72c.tar.gz android-node-v8-23a3911cb107b0170c0ba803df574007c14ea72c.tar.bz2 android-node-v8-23a3911cb107b0170c0ba803df574007c14ea72c.zip |
async_hooks: enable runtime checks by default
Ref: https://github.com/nodejs/node/pull/15454
PR-URL: https://github.com/nodejs/node/pull/16318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cli.md | 6 | ||||
-rw-r--r-- | doc/node.1 | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index b6d778f5ac..c0fd8f5761 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -208,13 +208,13 @@ added: v2.1.0 Prints a stack trace whenever synchronous I/O is detected after the first turn of the event loop. -### `--force-async-hooks-checks` +### `--no-force-async-hooks-checks` <!-- YAML added: REPLACEME --> -Enables runtime checks for `async_hooks`. These can also be enabled dynamically -by enabling one of the `async_hooks` hooks. +Disables runtime checks for `async_hooks`. These will still be enabled +dynamically when `async_hooks` is enabled. ### `--trace-events-enabled` <!-- YAML diff --git a/doc/node.1 b/doc/node.1 index 1d162b95de..0fad250c6d 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -153,9 +153,9 @@ Print a stack trace whenever synchronous I/O is detected after the first turn of the event loop. .TP -.BR \-\-force\-async\-hooks\-checks -Enables runtime checks for `async_hooks`. These can also be enabled dynamically -by enabling one of the `async_hooks` hooks. +.BR \-\-no\-force\-async\-hooks\-checks +Disables runtime checks for `async_hooks`. These will still be enabled +dynamically when `async_hooks` is enabled. .TP .BR \-\-trace\-events\-enabled |