Skip to content

Commit

Permalink
[BUG] Rust server should wire up system (#1924)
Browse files Browse the repository at this point in the history
## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
	 - Rust server boot code should wire up the system.
 - New functionality
	 - None

## Test plan
*How are these changes tested?*
- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
None
  • Loading branch information
HammadB authored Mar 24, 2024
1 parent 93b1f2a commit 917fa0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub async fn query_service_entrypoint() {
}
};
worker_server.set_segment_manager(segment_manager.clone());
worker_server.set_system(system);
worker_server.set_dispatcher(dispatcher_handle.receiver());

let server_join_handle = tokio::spawn(async move {
Expand Down

0 comments on commit 917fa0d

Please sign in to comment.