环境是 Flask + Gunicorn + gevent
已经在入口函数打了 monkey patch
可是在别的文件调用 requests 方法还是会报无限递归错误
文件层级结构
- manage.py
- gunicorn_config.py
- function
-- handler.py
-- ...
-- packageA
---- api.py <- 此处调用 requests 方法 eg. get(), post()
gunicorn 配置

manage.py 开头已经打了 monkey patch

gunicorn 运行命令
gunicorn -c gunicorn_config.py manage.py
错误

版本
python3.6.9 gunicorn 20.0.4 gevent 1.4.0 docker images alpine (费了老半天才装上 gevent...)
先谢谢各位大佬