Commit 6ddc4402 authored by jyong's avatar jyong

add gevent grpc compatible

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