Skip to content

Commit

Permalink
revert unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
photovoltex committed Jan 23, 2025
1 parent e697c41 commit e3ebc0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ use tokio::{
time::{sleep, Duration as TokioDuration, Instant as TokioInstant, Sleep},
};
use tokio_stream::wrappers::UnboundedReceiverStream;
use uuid::Uuid;

#[derive(Debug, Error)]
pub enum SessionError {
Expand Down Expand Up @@ -130,7 +131,8 @@ impl Session {

let session_data = SessionData {
client_id: config.client_id.clone(),
session_id: String::new(),
// can be any guid, doesn't need to be simple
session_id: Uuid::new_v4().as_simple().to_string(),
..SessionData::default()
};

Expand Down

0 comments on commit e3ebc0a

Please sign in to comment.