Skip to content

Commit

Permalink
Merge pull request #1514 from weaviate/grpc-authority
Browse files Browse the repository at this point in the history
Set default_authority for all grpc channels.
  • Loading branch information
tsmith023 authored Jan 15, 2025
2 parents 961d1a0 + 5578062 commit d6ec7e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weaviate/connect/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def _grpc_channel(self, proxies: Dict[str, str], grpc_msg_size: Optional[int]) -
opts = [
("grpc.max_send_message_length", grpc_msg_size),
("grpc.max_receive_message_length", grpc_msg_size),
("grpc.default_authority", self.grpc.host),
]

if (p := proxies.get("grpc")) is not None:
Expand Down

0 comments on commit d6ec7e7

Please sign in to comment.