From 0d0998ec3cf85a3be940ee8e50e2702fe04ba10d Mon Sep 17 00:00:00 2001 From: "ranee@ubuntu" Date: Sun, 7 May 2023 02:33:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E5=88=B0=E4=BA=86dockerdata?= =?UTF-8?q?=20=E6=96=87=E4=BB=B6=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gunicorn.conf.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 gunicorn.conf.py diff --git a/gunicorn.conf.py b/gunicorn.conf.py deleted file mode 100644 index 4aa61bf..0000000 --- a/gunicorn.conf.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import multiprocessing - -bind = '0.0.0.0:8000' -backlog = 512 -chdir = os.path.dirname(os.path.abspath(__file__)) -timeout = 30 -worker_class = 'sync' - -workers = multiprocessing.cpu_count() * 2 + 1 -threads = 2 -loglevel = 'info' -access_log_format = '%(t)s %(p)s %(h)s "%(r)s" %(s)s %(L)s %(b)s %(f)s" "%(a)s"' - -if not os.path.exists('logs'): - os.mkdir('logs') - -accesslog = os.path.join(chdir, "logs/gunicorn_access.log") -errorlog = os.path.join(chdir, "logs/gunicorn_error.log")