openresty.org icon indicating copy to clipboard operation
openresty.org copied to clipboard

ngx.worker.id () is always 0 on windows

Open 156704883 opened this issue 4 years ago • 0 comments
trafficstars

openresty version 1.19.3.1 nginx.conf worker_processes 4; init_worker_by_lua_file resty_test/init.lua; init.lua ngx.log(ngx.ERR, "init worker: ",ngx.worker.id()) -- It's ngx.worker.id() always zero here

156704883 avatar Apr 16 '21 09:04 156704883