-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
coroutine is allowed to return web.AppRunner #5611
coroutine is allowed to return web.AppRunner #5611
Conversation
These changes allow the configuration of web.AppRunner object inside application code. This makes possible to use custom configs of Aiohttp server (like 'max_line_size' parameters setup) in pair with Gunicorn. Associated issue: aio-libs#2988 (reference)
Depreceted style of 80 symbols width limit was needed. New style of 120 symbols for wide displays is much better
Codecov Report
@@ Coverage Diff @@
## master #5611 +/- ##
==========================================
- Coverage 93.31% 93.29% -0.02%
==========================================
Files 102 102
Lines 30212 30218 +6
Branches 2708 2710 +2
==========================================
Hits 28192 28192
- Misses 1843 1849 +6
Partials 177 177
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Backport to 3.8: 💚 backport PR created✅ Backport PR branch: Backported as #6150 🤖 @patchback |
Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]> (cherry picked from commit 9a1c862)
Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]>
💚 Backport successfulThe PR was backported to the following branches:
|
Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]> Co-authored-by: loven-doo <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]>
Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]> (cherry picked from commit 9a1c862) Co-authored-by: loven-doo <[email protected]>
What do these changes do?
These changes allow the configuration of web.AppRunner object inside application code. This makes possible to use custom configs of Aiohttp server (like 'max_line_size' parameters setup) in pair with Gunicorn.
Are there changes in behavior for the user?
Extends configuration flexibility
Related issue number
#2988 (reference)
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.