Skip to content

Commit

Permalink
Add examples for new env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
harrider committed Dec 5, 2024
1 parent 398225e commit 8158d66
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,15 +543,22 @@ This is an optional flag to `enable` logging of Node's `v8` module's memory usag
Value is either `true` or `false`
> Note: if this env var is not present, it equates to `false`
> example:
> `LOG_NODE_HEAPSTATS` = `true`
- [Node.js v8 engine docs - getHeapSpaceStatistics()](https://nodejs.org/docs/v22.12.0/api/v8.html#v8getheapspacestatistics)

- [Node.js v8 engine docs - getHeapStatistics()](https://nodejs.org/docs/v22.12.0/api/v8.html#v8getheapstatistics)

**LOG_NODE_HEAPSTATS_INTERVAL_MS**

This is an optional environment variable that sets the interval to log heap statistics (When enabled). This is a number in `ms` (`milliseconds`).
This is an optional environment variable that sets the interval to log heap statistics (When enabled).

Value is a number in `ms` (`milliseconds`).
> NOTE: The default value is `30000` ms (`30` seconds)
> NOTE: The default value is `30,000 ms` (`30 seconds`)
> example:
> `LOG_NODE_HEAPSTATS_INTERVAL_MS` = `10000`
**MULTIVERSION_CURATION_FF**

Expand Down

0 comments on commit 8158d66

Please sign in to comment.