Skip to content

Commit

Permalink
fix update time when session is created (#5129)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <[email protected]>
  • Loading branch information
Aiee and Sophie-Xie authored Dec 28, 2022
1 parent b85ae3c commit 1c6534f
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 1c6534f

Please sign in to comment.