Skip to content

Commit

Permalink
fix update time when session is created
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee authored and xtcyclist committed Dec 28, 2022
1 parent 6cb56c3 commit 5eea135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/processors/session/SessionManagerProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void CreateSessionProcessor::process(const cpp2::CreateSessionReq& req) {
// The sessionId is generated by microsecond timestamp
session.session_id_ref() = time::WallClock::fastNowInMicroSec();
session.create_time_ref() = session.get_session_id();
session.update_time_ref() = 0;
session.update_time_ref() = session.get_create_time();
session.user_name_ref() = user;
session.graph_addr_ref() = req.get_graph_addr();
session.client_ip_ref() = req.get_client_ip();
Expand Down

0 comments on commit 5eea135

Please sign in to comment.