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

Graceful Shutdown for template node18 functions #305

Open
1 of 2 tasks
NikhilSharmaWe opened this issue May 26, 2023 · 0 comments · May be fixed by #306
Open
1 of 2 tasks

Graceful Shutdown for template node18 functions #305

NikhilSharmaWe opened this issue May 26, 2023 · 0 comments · May be fixed by #306

Comments

@NikhilSharmaWe
Copy link

NikhilSharmaWe commented May 26, 2023

Expected Behaviour

When a function receives a SIGTERM signal the function should first handle the current ongoing requests before terminating the function.

Current Behaviour

Currently, when a function receives a SIGTERM signal, the function immediately terminates.

Are you a GitHub Sponsor (Yes/No?)

Check at: https://github.com/sponsors/openfaas

  • Yes
  • No

Which Solution Do You Recommend?

Handle the condition when a function recieves a SIGTERM signal. Wait for some graceful period before terminating if the function have an ongoing request, otherwise terminate without waiting.

@NikhilSharmaWe NikhilSharmaWe linked a pull request May 26, 2023 that will close this issue
12 tasks
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

Successfully merging a pull request may close this issue.

1 participant