Commit 834f3e33 authored by jyong's avatar jyong

add gevent grpc compatible

parent 6ddc4402
......@@ -7,8 +7,8 @@ if not os.environ.get("DEBUG") or os.environ.get("DEBUG").lower() != 'true':
from gevent import monkey
monkey.patch_all()
if os.environ.get("VECTOR_STORE") == 'milvus':
import grpc._cython.cygrpc
grpc._cython.cygrpc.init_grpc_gevent()
import grpc.experimental.gevent
grpc.experimental.gevent.init_gevent()
import logging
import json
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment