Skip to content

Commit

Permalink
fix: vnet should stick on same worker for avoiding actor missmatch error
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm committed Mar 2, 2025
1 parent fa9bd3a commit a45ea30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/src/server/media.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ pub async fn run_media_server(workers: usize, http_port: Option<u16>, node: Node
}

while let Ok(control) = vnet_rx.try_recv() {
controller.send_to_best(ExtIn::Sdn(SdnExtIn::FeaturesControl(media_server_runner::UserData::Cluster, control.into()), false));
controller.send_to(0, ExtIn::Sdn(SdnExtIn::FeaturesControl(media_server_runner::UserData::Cluster, control.into()), false));

Check warning on line 244 in bin/src/server/media.rs

View check run for this annotation

Codecov / codecov/patch

bin/src/server/media.rs#L244

Added line #L244 was not covered by tests
}
while let Ok(req) = req_rx.try_recv() {
let req_id = req_id_seed;
Expand Down

0 comments on commit a45ea30

Please sign in to comment.