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

Improve App loading to reduce Kubernetes liveness/readiness error #10137

Open
sebglon opened this issue May 7, 2024 · 0 comments
Open

Improve App loading to reduce Kubernetes liveness/readiness error #10137

sebglon opened this issue May 7, 2024 · 0 comments

Comments

@sebglon
Copy link

sebglon commented May 7, 2024

Is your feature request related to a problem? Please describe
We need to improve the Django app loading to make deployments less disruptive

here is a blog post that we already have implemented on another Django app

Describe the solution you'd like
On the wsgi.py add a call to the Django URL resolver to force the django loading before than wsgi start listening http requests.

Example of code:

get_resolver(ROOT_URLCONF).url_patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant