1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2025-01-23 17:52:54 +02:00
LibreTranslate/scripts/gunicorn_conf.py

4 lines
122 B
Python
Raw Normal View History

2022-12-26 16:10:43 -05:00
from prometheus_client import multiprocess
def child_exit(server, worker):
multiprocess.mark_process_dead(worker.pid)