Skip to content

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

Description

@156704883

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions