LibreTranslate/gunicorn_conf.py
2022-12-26 16:10:43 -05:00

4 lines
No EOL
122 B
Python

from prometheus_client import multiprocess
def child_exit(server, worker):
multiprocess.mark_process_dead(worker.pid)