diff --git a/api/terminal/etc/gunicorn.py b/api/terminal/etc/gunicorn.py index e5c0c14..cf5e6a2 100644 --- a/api/terminal/etc/gunicorn.py +++ b/api/terminal/etc/gunicorn.py @@ -18,7 +18,7 @@ bind = '%s:%d' % (CONF.server.bind, CONF.server.port) backlog = CONF.server.backlog # 超时 -timeout = 30 +timeout = 30*60 # 进程数 workers = max(multiprocessing.cpu_count() * 2, 8) # 指定每个进程开启的线程数