Azure / Azure/azure-functions-host

Http Throttling graceful shutdown

Open
#1,390 0 comments 0 reactions 1 assignee Claimed by @mathewc View on GitHub
enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

When http throttling is enabled, we'll be queueing requests up to the limit set by the **maxOutstandingRequests** limit. In the case of a complete process shutdown (i.e. WebScriptHostManager.Shutdown) we should handle any queued requests gracefully. E.g. any requests that are still sitting in the queue, we should return a 503.

We need to experiment with this. It might be that ASP.NET already gives us correct default behavior and we don't need to do anything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.