Skip to content
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

Port pulpcore-content to use Application Runners #610

Closed

Conversation

bmbouter
Copy link
Member

Application Runners in aiohttp Server are the recommended way to
configure additional aspects of aiohttp such configuring the header
length. Plugins like pulp-certguard require this additional
configuration.

This PR ports the pulp-content app to use Application Runners. Also
port the pulpcore.content.app entry point that gunicorn uses to it
also.

https://pulp.plan.io/issues/6397
closes #6397

@pulpbot
Copy link
Member

pulpbot commented Mar 25, 2020

Attached issue: https://pulp.plan.io/issues/6397

@bmbouter bmbouter force-pushed the port-content-app-to-application-runners branch from f814492 to f7446ff Compare April 8, 2020 16:49
Application Runners in aiohttp Server are the recommended way to
configure additional aspects of aiohttp such configuring the header
length. Plugins like `pulp-certguard` require this additional
configuration.

This PR ports the `pulp-content` app to use Application Runners. Also
port the `pulpcore.content.app` entry point that gunicorn uses to it
also.

https://pulp.plan.io/issues/6397
closes #6397
@bmbouter bmbouter force-pushed the port-content-app-to-application-runners branch from f7446ff to 832f317 Compare April 27, 2020 20:52
import django # noqa otherwise E402: module level not at top of file
django.setup() # noqa otherwise E402: module level not at top of file

from django.conf import settings
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not see those settings to be used anywhere (yet?).

app,
max_line_size=16380,
max_field_size=16380
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this PulpGunicornWebWorker used anywhere?

@daviddavis
Copy link
Contributor

Closing due to inactivity.

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.

None yet

4 participants