Skip to content

Commit 1bc6cd5

Browse files
authored
fix: vnet should stick on same worker for avoiding actor missmatch error (#519)
1 parent fa9bd3a commit 1bc6cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/src/server/media.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ pub async fn run_media_server(workers: usize, http_port: Option<u16>, node: Node
241241
}
242242

243243
while let Ok(control) = vnet_rx.try_recv() {
244-
controller.send_to_best(ExtIn::Sdn(SdnExtIn::FeaturesControl(media_server_runner::UserData::Cluster, control.into()), false));
244+
controller.send_to(0, ExtIn::Sdn(SdnExtIn::FeaturesControl(media_server_runner::UserData::Cluster, control.into()), false));
245245
}
246246
while let Ok(req) = req_rx.try_recv() {
247247
let req_id = req_id_seed;

0 commit comments

Comments
 (0)