whl739 opened a new issue #3911:
URL: https://github.com/apache/apisix/issues/3911
In plugin `error-log-logger`:
```
function _M.init()
timers.register_timer("plugin#error-log-logger", process, true)
end
```
this timer will run on privileged agent, but in function `process`, it will
call `ngx.worker.id()`, whtich will return `nil`.
```
local function process()
....
local id = ngx.worker.id()
....
buffers[id] = log_buffer
....
end
```
it seems a bug, did i miss something?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]