master
Aevann1 2022-08-24 01:40:17 +00:00
parent e5046c9f20
commit 9f04de5124
3 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

16
gunicorn.conf.py 100644
View File

@ -0,0 +1,16 @@
bind = '0.0.0.0:5000'
workers = 9
worker_class = 'gevent'
max_requests = 30000
max_requests_jitter = 30000
reload = True
#print_config = True
def worker_abort(worker):
import os
worker.log.info("Worker %s received SIGABRT." % worker.pid)
os.abort()