From 5eea1354ac5e0f4dcdbffaa7af2bd5527e3873e1 Mon Sep 17 00:00:00 2001 From: Aiee <18348405+Aiee@users.noreply.github.com> Date: Wed, 28 Dec 2022 11:32:11 +0800 Subject: [PATCH] fix update time when session is created --- src/meta/processors/session/SessionManagerProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/processors/session/SessionManagerProcessor.cpp b/src/meta/processors/session/SessionManagerProcessor.cpp index 5c741a5e174..f98ca0a7be8 100644 --- a/src/meta/processors/session/SessionManagerProcessor.cpp +++ b/src/meta/processors/session/SessionManagerProcessor.cpp @@ -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();