Commit 6ddc4402 authored by jyong's avatar jyong

add gevent grpc compatible

parent dc0df564
......@@ -20,6 +20,7 @@ class MilvusConfig(BaseModel):
password: str
secure: bool = False
batch_size: int = 100
timeout: int = 60
@root_validator()
def validate_config(cls, values: dict) -> dict:
......@@ -39,7 +40,8 @@ class MilvusConfig(BaseModel):
'port': self.port,
'user': self.user,
'password': self.password,
'secure': self.secure
'secure': self.secure,
'timeout': self.timeout
}
......
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