1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

fix zombie processes

Temporary fix for zombie processes.
This commit is contained in:
D-Jy 2023-01-20 12:06:03 +08:00 committed by GitHub
parent ce9498d06d
commit bb9fe83836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,9 @@ For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""
import signal
signal.signal(signal.SIGCHLD, signal.SIG_IGN)
import os
from django.core.wsgi import get_wsgi_application