spacewander commented on issue #3923:
URL: https://github.com/apache/apisix/issues/3923#issuecomment-809050063


   > The background timer can not set a interval time, and the callback 
function have to check the time by itself, it's not easy to use.
   
   Yes, as OpenResty doesn't provide a cancel_timer API, we have to do the 
"cancel" job in the callback.
   
   > if one timer cost too much time, other timers will be affected
   
   Not exactly. The `core.timer` use `timer.every` API, so each group of 
timers' fire time is not affected by the last timer group. And each timer in 
the same group is run in a separate thread.


-- 
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:
us...@infra.apache.org


Reply via email to