Story #8956
Updated by bmbouter almost 3 years ago
Workers support graceful shutdown, in this case the fact that workers are offline is reflected very quickly in the db.
For content app shutdown, it depends on its heartbeat and depending on the configuration of its ttl, the time of shutdown can be very noticeable.
It would be useful to support graceful shutdown, similar to the workers.
Usage example: without this improvement, pulpcore-manager commands which require services to be shutdown wait for quite some time after stopping the service.
## Expected outcome
1) I shut down the content app workers
2) I check the status API immediately after and it shows there are no workers