Skip to content

Commit

Permalink
fix: client id with tenant prefix should be set globally (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnpw authored Feb 1, 2023
1 parent 1b1e83f commit 039d9eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rumqttd/src/link/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ impl Link {
last_will,
dynamic_filters,
);
let incoming = Incoming::new(client_id.to_string());
let (outgoing, link_rx) = Outgoing::new(client_id.to_string());
let incoming = Incoming::new(connection.client_id.to_owned());
let (outgoing, link_rx) = Outgoing::new(connection.client_id.to_owned());
let outgoing_data_buffer = outgoing.buffer();
let incoming_data_buffer = incoming.buffer();

Expand Down

0 comments on commit 039d9eb

Please sign in to comment.