]> git.kaiwu.me - njs.git/commit
Modules: introduced ngx.worker_id.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 30 Jun 2023 03:44:14 +0000 (20:44 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 30 Jun 2023 03:44:14 +0000 (20:44 -0700)
commit5e2a0b4c7f0f5de1b33ab86025f1282e988f7a3c
tree1f6fd8e4a793a9d91192c2042f9a2a5fa7e1dafa
parent780c65844b175c0beed8bd565dbfe4ddd6629d5b
Modules: introduced ngx.worker_id.

worker_id corresponds to an nginx internal worker id.
The value is between 0 and worker_processes - 1.
nginx/ngx_js.c
ts/ngx_core.d.ts