~dricottone/huttese-apk

ref: 89791a183ccae2297fca7ab2527591bac12b495d huttese-apk/sr.ht/man.sr.ht/man.sr.ht.gunicorn.conf.py -rw-r--r-- 124 bytes
89791a18 — Ignas Kiela *.sr.ht: Enable prometheus multiprocessing mode 2 years ago
                                                                                
89791a18 Ignas Kiela
1
2
3
4
5
from prometheus_client import multiprocess


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