20 Star 66 Fork 21

wossl33 / wossl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
wsgi_config.py 363 Bytes
一键复制 编辑 原始数据 按行查看 历史
wossl33 提交于 2017-12-25 17:26 . create repository
# -*- coding:utf-8 -*-
# wossl.service加载配置文件
import os
import gevent.monkey
gevent.monkey.patch_all()
import multiprocessing
debug=True
loglevel='debug'
bind='192.168.85.81:8080'
pidfile='/tmp/gunicorn.pid'
logfile='/tmp/debug.log'
# 多核多线程
workers = multiprocessing.cpu_count()*2 + 1
worker_class = 'gunicorn.workers.ggevent.GeventWorker'
Python
1
https://gitee.com/wossl33/wossl.git
git@gitee.com:wossl33/wossl.git
wossl33
wossl
wossl
master

搜索帮助