V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  triangle111  ›  全部回复第 12 页 / 共 12 页
回复总数  225
1 ... 3  4  5  6  7  8  9  10  11  12  
2020-03-19 17:30:42 +08:00
回复了 dingwen07 创建的主题 Android MIUI 最近更新的应用行为记录简直就是照妖镜
各个手机厂商都会拿用户数据的吧
2020-03-19 17:28:13 +08:00
回复了 yuexuan 创建的主题 Python Python 异步 Web 框架 Fastapi 怎么样,已经够成熟到商业项目了吗
那些四五年的一般都用 Django\Flask 吧,只要招聘岗位需要 Fastapi 的话,应该还是回去学习的
2020-03-16 15:43:23 +08:00
回复了 Lovres 创建的主题 求职 恳请大佬们帮忙看看 Python 简历的问题,一年半的正式工作经验
19 届想换工作,也瑟瑟发抖,从爬虫被迫转到后端
2020-03-13 16:21:29 +08:00
回复了 Ritter 创建的主题 Python gevent 为什么打了猴子补丁 还是会出现无限递归错误?
import gevent.monkey
gevent.monkey.patch_all()

# 服务地址( adderes:port )
bind = '127.0.0.1:5002'
# 启动进程数量
workers = 2
worker_class = 'gevent'
threads = 20
preload_app = True
reload = True
x_forwarded_for_header = 'X_FORWARDED-FOR'
chdir = './'
proc_name='gunicorn.pid'
#记录 PID
pidfile='debug.log'
access_log_format = '%(t)s %(p)s %(h)s "%(r)s" %(s)s %(L)s %(b)s %(f)s" "%(a)s"'
#设置 gunicorn 访问日志格式,错误日志无法设置
errorlog = "./errlog"
accesslog = "./logs"

贴一下自己
不用 gevent 和 gunicorn,试试 app.run(threaded=True)?
1 ... 3  4  5  6  7  8  9  10  11  12  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2292 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 05:39 · PVG 13:39 · LAX 22:39 · JFK 01:39
Developed with CodeLauncher
♥ Do have faith in what you're doing.