Skip to content

Commit

Permalink
Set grpc msg size (#139)
Browse files Browse the repository at this point in the history
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
  • Loading branch information
junjiejiangjjj authored May 23, 2024
1 parent 9a3720a commit 50447b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def parse_requirements(file_name: str) -> List[str]:
]

setup(name='milvus-lite',
version='2.4.5',
version='2.4.6',
description='A lightweight version of Milvus wrapped with Python.',
author='Milvus Team',
author_email='milvus-team@zilliz.com',
Expand Down
2 changes: 2 additions & 0 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ main(int argc, char** argv) {
return -1;
}
::grpc::ServerBuilder builder;
builder.SetMaxReceiveMessageSize(268435456);
builder.SetMaxSendMessageSize(536870912);
builder.AddListeningPort(address, grpc::InsecureServerCredentials());
builder.RegisterService(&service);
std::unique_ptr<::grpc::Server> server(builder.BuildAndStart());
Expand Down

0 comments on commit 50447b9

Please sign in to comment.