1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-10-05 19:00:14 +02:00
LibreTranslate/scripts/gunicorn_conf.py

4 lines
122 B
Python

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