-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Flushing a queue on shutdown in case of reconfiguration results in an unresponsive app #141
Comments
Hi @kislyuk, |
Hi, I don't have any specific comments on this, unfortunately. Since I don't use Django, I'm having trouble guessing what might be going wrong. |
Hi, I'm having a similar issue over in Airflow land - here's the extent of the Python backtrace I was able to grab using GDB:
I thought it might be a fork-related issue, but this error is not consistent at all, whereas forking occurs every time. |
This is very likely related to #139 and what I was running into when I opened the PR |
I reckon you're absolutely correct @terencehonles, good find! |
Seems to be fixed in version 2.0.0. |
I'm currently facing an issue with watchtower
1.0.6
hanging on shutdown/flush and renders the whole application non-responsive.I'm using Django (3.1) with celery (5.0.5) and django-celery-beat (2.2.0).
I mention celery and django-celery-beat as this is the environment I can currently reproduce this bug.
The whole "exception" stack is a little bit complicated, so I'm going from inside out.
The application hangs on the following line:
This line is called, when
logging.config.dictConfig()
is called a second time.When doing so, all already existing handlers are shut down:
Here the lines which are called, keeping the order from the inside out:
I'm very grateful for any help.
The text was updated successfully, but these errors were encountered: