摘要: 在前面的文章曾介绍过gunicorn的syncworker,本文介绍其中一种asyncworker:GeventWorker。类图如下: 可见GeventWorker重载了init_process(这个方法是Worker唯一暴露给外界的接口),源码如下: 1 def init_process(sel 阅读全文
posted @ 2017-02-10 09:18 xybaby 阅读(4535) 评论(0) 推荐(1) 编辑