Skip to content

Commit 9de50f4

Browse files
committed
Add note about Windows thread pool size
1 parent 97d8b3f commit 9de50f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/connectionpool.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
// If you increase poolMax, you must increase UV_THREADPOOL_SIZE before Node.js
3939
// starts its thread pool. If you set UV_THREADPOOL_SIZE too late, the value is
4040
// ignored and the default size of 4 is used.
41+
// Note on Windows you must set the UV_THREADPOOL_SIZE environment variable before
42+
// running your application.
4143
// process.env.UV_THREADPOOL_SIZE = 4;
4244

4345
const oracledb = require('oracledb');

examples/webapp.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
// If you increase poolMax, you must increase UV_THREADPOOL_SIZE before Node.js
4040
// starts its thread pool. If you set UV_THREADPOOL_SIZE too late, the value is
4141
// ignored and the default size of 4 is used.
42+
// Note on Windows you must set the UV_THREADPOOL_SIZE environment variable before
43+
// running your application.
4244
// process.env.UV_THREADPOOL_SIZE = 4;
4345

4446
const http = require('http');

0 commit comments

Comments
 (0)