-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
Configure workers #266
Comments
Yeah indeed, that’d be nice. Thoughts on how best to approach that would be most welcome. |
Related: Have we dug into whichever part of the ASGI ecosystem doesn’t yet support lifespan? |
I believe it is channels since they do not have any mention of lifespan in their docs or code. I opened an issue: django/channels#1216 |
We provide (undocumented) support for this now... class CustomWorker(UvicornWorker):
CONFIG_KWARGS = {...} I guess I'll leave the ticket open until we've documented this. |
Is the custom class with I see there is an For completeness there is a ticket for |
bump |
? |
It would be great if the gunicorn workers could support uvicorn's config options.
I would like to run a Django Channels project using them, but cannot do so at this time because the
disable_lifespan
option from #262 cannot be set.The text was updated successfully, but these errors were encountered: