monkeyDluffy6017 commented on issue #7899:
URL: https://github.com/apache/apisix/issues/7899#issuecomment-1244845414

   You could use 
[ngxsharedict](https://github.com/openresty/lua-nginx-module#ngxshareddict) to 
notify other processes.
   For example
   
   ```
   -- process 1
   local rotate = ngx.shared.rotate
   rotate:set("reopen", true)
   ```
   
   ```
   -- process 2
   local rotate = ngx.shared.rotate
   local reopen = rotate:get("reopen")
   if reopen then
       -- reopen file
   end
   ```
   
   


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