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

old nginx workers cannot shut down properly when nginx reload because timers won't exit #15

Open
neoyk opened this issue Oct 24, 2024 · 0 comments

Comments

@neoyk
Copy link
Contributor

neoyk commented Oct 24, 2024

ngx_timer_at(0, function()

none of the timers in this repo has a parameter named premature without it timers cannot get notified when nginx reload thus won't exit during reload
nginx worker cannot shutdown properly when timers won't stop
image

it's advisable to add premature parameter in timer functions to get notified when nginx reload and exit timers ASAP

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

1 participant