How to troubleshoot cause of "Waiting for background tasks to complete. (CTRL+C to force quit)" ? #2075
Unanswered
ZipBrandon
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Having the same problem... Thanks for the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm facing intermittent issues on my dev server running
--reload
. I'm receiving "Waiting for background tasks to complete. (CTRL+C to force quit)". I enabled--log-level trace --timeout-graceful-shutdown 10
and can see that after the 10 seconds that a ASGI task will complete:| TRACE: 172.27.0.6:55020 - ASGI [62] Completed
. I go back in the logging to see whatASGI [62]
wasI made a middleware for Django to parse the operation name out for the log. I believe this correlated with the graphql request that would be immediately before that so it would be what is running for ASGI [62]. My problem is that when I do get into this condition it is not always the same GraphQL operation that is running. Is there a better way to diagnose this than the path I am going?
Beta Was this translation helpful? Give feedback.
All reactions