问题 当我使用gunicorn的gevent worker启动milvus连接时,worker被卡住然后发生timeout并重启。 排查发现是因为milvus client使用了grpc的方式,其自维护了自己的事件循环,与gevent的事件循环冲突。 解决方案 在你需要执行grpc的代码前,加如下补丁解决: import grpc.experimental.gevent as grpc_gevent grpc_gevent.init_gevent()