Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

定时器ngx.timer.at为什么用递归不用循环,递归不会爆栈吗,还是说lua没有爆栈这个概念呢 #40

Open
mingkwind opened this issue Jul 14, 2022 · 1 comment

Comments

@mingkwind
Copy link

https://github.com/iresty/nginx-lua-module-zh-wiki#ngxtimerat
image

@xiaooloong
Copy link

lua 层面只是提供调用的 api ,定时器的具体实现应该是在 c 层完成的。

默认最大定时器数量是 1ki 个:
https://github.com/openresty/lua-nginx-module#lua_max_pending_timers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants