From b602cfc2998b4a01b885b8d9ef0a8b0a405e4813 Mon Sep 17 00:00:00 2001 From: Ben Eggers <64657842+beggers@users.noreply.github.com> Date: Sat, 23 Mar 2024 17:15:48 -0700 Subject: [PATCH] [BUG] Point query service to the right logservice port (#1921) ## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Point the query service to port 50051 on the log service, not 50052. We only use 50052 for the external-facing service during testing since it conflicts with the sysdb on 50051. ## Test plan *How are these changes tested?* - [ ] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes *Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the [docs repository](https://github.com/chroma-core/docs)?* --- rust/worker/chroma_config.yaml | 2 +- rust/worker/src/config.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rust/worker/chroma_config.yaml b/rust/worker/chroma_config.yaml index b0f8c80aceb..9fab1f154c6 100644 --- a/rust/worker/chroma_config.yaml +++ b/rust/worker/chroma_config.yaml @@ -32,7 +32,7 @@ worker: log: Grpc: host: "logservice.chroma" - port: 50052 + port: 50051 dispatcher: num_worker_threads: 4 dispatcher_queue_size: 100 diff --git a/rust/worker/src/config.rs b/rust/worker/src/config.rs index 637c5cac98a..560557fd045 100644 --- a/rust/worker/src/config.rs +++ b/rust/worker/src/config.rs @@ -165,7 +165,7 @@ mod tests { log: Grpc: host: "localhost" - port: 50052 + port: 50051 dispatcher: num_worker_threads: 4 dispatcher_queue_size: 100 @@ -217,7 +217,7 @@ mod tests { log: Grpc: host: "localhost" - port: 50052 + port: 50051 dispatcher: num_worker_threads: 4 dispatcher_queue_size: 100 @@ -285,7 +285,7 @@ mod tests { log: Grpc: host: "localhost" - port: 50052 + port: 50051 dispatcher: num_worker_threads: 4 dispatcher_queue_size: 100 @@ -333,7 +333,7 @@ mod tests { log: Grpc: host: "localhost" - port: 50052 + port: 50051 dispatcher: num_worker_threads: 4 dispatcher_queue_size: 100