Skip to content

Commit

Permalink
fix/session_mapping
Browse files Browse the repository at this point in the history
ensure session is tracked properly per client, allow it to be sent in initial handshake
  • Loading branch information
JarbasAl committed Jul 1, 2024
1 parent 7c464e2 commit 4818055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hivemind_core/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def handle_bus_message(
else:
client.sess.session_id = sess.session_id
LOG.debug(f"Client session_id assigned via client first message: {client.sess.session_id}")
self.clients[client.peer] = client

if sess.session_id == "default":
sess.session_id = client.sess.session_id
Expand Down

0 comments on commit 4818055

Please sign in to comment.