-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
New multiprocess manager #2183
Merged
+351
−36
Merged
New multiprocess manager #2183
Changes from 13 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
bb4efdd
New multiprocess manager
abersheeran fde0284
lint it
abersheeran efd22a3
Fixed test
abersheeran c602782
Fixed `Process`.`__init__`
abersheeran c41e48d
Fix signal handling in Multiprocess class
abersheeran cf71b61
Update coverage fail_under value
abersheeran 3928b3d
Remove redundant log message
abersheeran 31c300b
Update coverage fail_under value
abersheeran fb13e27
Update coverage fail_under value
abersheeran 993e695
Update fail_under value in coverage report
abersheeran 29b3ad6
Remove unused threading event
abersheeran 637a372
Merge branch 'master' of https://github.com/encode/uvicorn into multi…
abersheeran f767d9c
lint
abersheeran 2a7e193
more tests
abersheeran cc7a2e1
More tests and fix bug
abersheeran 636080a
lint
abersheeran 939ed2b
Add pytest.mark.skipif for SIGHUP test on Windows
abersheeran e9760f4
delete unused code
abersheeran a207664
More tests
abersheeran b8947b0
Try fix tests in Windows
abersheeran 8cbd3c2
make linter feels great
abersheeran edae1a9
delete pytest-xdist
abersheeran c724cfa
Try fix test in windows
abersheeran 3511f48
Try make mypy happy
abersheeran 298906a
Skip tests in windows
abersheeran f1f4d64
lint
abersheeran fe2fb08
Try test basic run in Windows
abersheeran fb46e20
Try fix error in Windows
abersheeran 197fa3d
lint
abersheeran 33f5692
Skip tests in window
abersheeran d3c4484
Try test in window
abersheeran d3f090a
lint
abersheeran 4bae355
Add import statement and set current working directory in test_multip…
abersheeran b910b3f
lint
abersheeran 6d2c6b6
giveup
abersheeran 7ee21af
Refactor signal handling in Multiprocess class
abersheeran 9397e8e
Merge branch 'master' into multiprocess-manager
abersheeran 8efcad3
Tests in windows
abersheeran 7c683ca
lint
abersheeran 4e3ac6e
lint
abersheeran 404b864
ignore mypy check in linux
abersheeran d3a3aab
Add __init__.py
abersheeran 736510a
fix warning
abersheeran 42c7187
coverage ignore
abersheeran 6fce985
Update coverage
abersheeran 6e916f3
coverage
abersheeran b8ee655
Add documents
abersheeran 66395d0
Update docs/deployment.md
abersheeran a19f737
Update uvicorn/supervisors/multiprocess.py
abersheeran 658a4fa
Update uvicorn/supervisors/multiprocess.py
abersheeran 43e0190
Update uvicorn/supervisors/multiprocess.py
abersheeran cc25743
Update uvicorn/supervisors/multiprocess.py
abersheeran 5f23d2f
Update uvicorn/supervisors/multiprocess.py
abersheeran a5d19cb
Update uvicorn/supervisors/multiprocess.py
abersheeran 1b3ddc7
Update uvicorn/supervisors/multiprocess.py
abersheeran 1e8db13
Update uvicorn/supervisors/multiprocess.py
abersheeran a4209cf
Do not output the PID information repeatedly.
abersheeran dbc34c8
Fix occasional abnormal exits.
abersheeran a9d4b63
Update docs
abersheeran b740e2d
Change subprocess termination logic in Multiprocess class
abersheeran e78ca8c
Merge branch 'master' into multiprocess-manager
abersheeran 59aa0be
Update new_console_in_windows function to include pragma statement
abersheeran 5281eee
Revert coverage to 98.35
abersheeran 15ffc6f
chore: Remove pragma statements from test_multiprocess functions
abersheeran a1054e7
chore: Exclude test_multiprocess.py from coverage on Windows
abersheeran 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not willing to introduce this feature without testing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I just want to see your attitude towards this PR before adding the test. Because I remember you have implemented something similar before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, then let me review and get back to you.