HashidaTKS opened a new issue, #7131:
URL: https://github.com/apache/apisix/issues/7131

   ### Description
   
   Hope to add a hook or snippet for `exit_worker`.
   
   Currently, the `exit_worker` hook is not executed even if writing such a 
function in plugins.
   
   ```
   function _M.exit_worker()
     core.log.info("exit_worker")
   end
   ```
   
   Also, `config.yaml` seems to have no snippet to change a content of the 
`exit_worker_by_lua*` directive created by `ngx_tpl.lua`.
   
   https://github.com/apache/apisix/blob/master/apisix/cli/ngx_tpl.lua#L429
   
   I think only a few users do something in the `exit_worker` directive, but I 
think it is useful for the users.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to