Compare commits

...

4 Commits

Author SHA1 Message Date
jyong
834f3e3313 add gevent grpc compatible 2023-10-11 21:34:22 +08:00
jyong
6ddc4402a4 add gevent grpc compatible 2023-10-11 21:33:56 +08:00
Jyong
dc0df5648d Update build-api-image.yml 2023-10-11 21:10:55 +08:00
jyong
85974a26fc add gevent grpc compatible 2023-10-11 21:10:00 +08:00
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ on:
branches:
- 'main'
- 'deploy/dev'
- 'fix/grpc-gevent'
release:
types: [published]

View File

@@ -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
}