-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add a graceful shutdown period to allow tasks to complete. #7188
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1a82747
Add a graceful shutdown period to allow tasks to complete.
Dreamsorcerer 2ebd759
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 485fd1d
Create 7188.feature
Dreamsorcerer 0f67bd8
Update web_reference.rst
Dreamsorcerer f3a3375
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b8daaea
Update web_advanced.rst
Dreamsorcerer 1438a9f
Update http_writer.py
Dreamsorcerer fd09429
Update test_run_app.py
Dreamsorcerer 524fd25
Update web_runner.py
Dreamsorcerer 6356e1e
Add parent task to excludes.
Dreamsorcerer 2bbec65
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4329fb3
Enable handler_cancellation by default in tests.
Dreamsorcerer 4fcfd12
Mypy
Dreamsorcerer d35c0ba
Syntax
Dreamsorcerer 024c27a
Shield close call.
Dreamsorcerer 19b5e64
Tweak timing
Dreamsorcerer 7f17c12
Tweak timing
Dreamsorcerer e6ae701
Tweak timing
Dreamsorcerer 1594fcc
Update docs/web_advanced.rst
Dreamsorcerer 2e92f2f
Update CHANGES/7188.feature
Dreamsorcerer 9e1311f
Debug
Dreamsorcerer 8a3a72b
Merge branch 'Dreamsorcerer-graceful-shutdown' of github.com:aio-libs…
Dreamsorcerer 9ee2b46
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a921707
Debug
Dreamsorcerer cd3db03
Debug
Dreamsorcerer d614444
Cleanup
Dreamsorcerer 808511e
Update test_run_app.py
Dreamsorcerer 3261168
Update docs/web_reference.rst
Dreamsorcerer 69c08d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added a graceful shutdown period which allows pending tasks to complete before the application's cleanup is called. The period can be adjusted with the ``shutdown_timeout`` parameter -- by :user:`Dreamsorcerer`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check notice
Code scanning / CodeQL
Statement has no effect