Skip to content

Commit

Permalink
fixup! fixup! src: set worker thread name using worker.name
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Jan 3, 2025
1 parent 1681fcd commit 68c1066
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,13 @@ changes:
* `name` {string} An optional `name` to be replaced in the thread name
and to the worker title for debugging/identification purposes,
making the final title as `[worker ${id}] ${name}`.
**Default:** `'WorkerThread'`.
This parameter has a maximum allowed size, depending on the operating
system. If the provided name exceeds the limit, it will be truncated
* Maximum sizes:
* Windows: 32,767 characters
* macOS: 64 characters
* Other systems: 16 characters
**Default:** `'WorkerThread'`.

### Event: `'error'`

Expand Down

0 comments on commit 68c1066

Please sign in to comment.