Skip to content

Conversation

@hossam-nasr
Copy link
Contributor

Resolves #606 now that Azure/azure-functions-host#8385 is merged.

This PR adds a handler for the worker_terminate gRPC message to gracefully shut down the language worker, and introduces the new appTerminate hook. The name is modeled after appStart hook and the workerTerminate message, but ofc other ideas and suggestions are welcome.

@hossam-nasr hossam-nasr requested a review from ejizba August 23, 2022 22:54
@hossam-nasr hossam-nasr changed the title Add appTermiante hooks Add app termination hooks Aug 23, 2022
@ejizba ejizba merged commit 35db835 into v3.x Aug 26, 2022
@ejizba ejizba deleted the hossamnasr/worker_terminate branch August 26, 2022 01:05
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 this pull request may close these issues.

Add app teardown execution hooks

3 participants