1
0
Fork 0
mirror of https://github.com/Findus23/cr-search.git synced 2024-09-19 15:23:44 +02:00

add gunicorn config

This commit is contained in:
Lukas Winkler 2020-08-07 18:50:41 +02:00
parent 2ea494a926
commit 84f5ff2165
Signed by: lukas
GPG key ID: 54DE4D798D244853

7
gunicorn.py Normal file
View file

@ -0,0 +1,7 @@
# import multiprocessing
pidfile="/srv/server/crsearch/runtime/pid"
bind="unix:/srv/server/crsearch/runtime/socket"
proc_name="crsearch"
worker_tmp_dir="/dev/shm"
# workers = multiprocessing.cpu_count() * 2 + 1