Changes between Initial Version and Version 1 of Ticket #37033, comment 2
- Timestamp:
- Apr 13, 2026, 7:55:07 PM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37033, comment 2
initial v1 3 3 Warm shutdown seems like a good plan: check e.g. `self.terminate = True` periodically. In the context we're supporting this system, it would require us to change an uncomfortable amount of code, but it is doable. I thought about doing it in a thread, but I think `SystemExit` would have the exact same problem. I have a feeling we'd have options if we had async handlers, but we're not on 6.0 yet and even then it's a big change... can you think of anything I've missed? 4 4 5 I've opened a ticket with psycopg and am about to with celery. I don't think this issue is resolved by writing code -- but to collaborate in ensuring the message is out to help those who--perhaps naively--believe this combination will work. I opened it here too because the root cause is two-fold:5 I've opened a ticket with psycopg and am about to with celery. At first look, I didn't see anything in the documentation that explicitly calls this out. I don't think this issue is resolved by writing code -- but to collaborate in ensuring the message is out to help those who--perhaps naively--believe this combination will work. I opened it here too because the root cause is two-fold: 6 6 7 7 1. celery soft / cold shutdown (i.e. exception propagation)