File: gunicorn_conf.py

package info (click to toggle)
biomaj3-daemon 3.0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 232 kB
  • sloc: python: 2,072; sh: 12; makefile: 7
file content (3 lines) | stat: -rw-r--r-- 127 bytes parent folder | download | duplicates (6)
1
2
3
def worker_exit(server, worker):
    from prometheus_client import multiprocess
    multiprocess.mark_process_dead(worker.pid)