Skip to content

Commit

Permalink
Merge branch 'master' into fix_tck
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu authored Apr 15, 2022
2 parents 8cc4a43 + 365ad83 commit a25bc9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/graph/service/GraphService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ folly::Future<AuthResponse> GraphService::future_authenticate(const std::string&
void GraphService::signout(int64_t sessionId) {
VLOG(2) << "Sign out session " << sessionId;
sessionManager_->removeSession(sessionId);
stats::StatsManager::decValue(kNumActiveSessions);
}

folly::Future<ExecutionResponse> GraphService::future_executeWithParameter(
Expand Down
1 change: 1 addition & 0 deletions src/graph/session/GraphSessionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ void GraphSessionManager::removeSession(SessionID id) {
auto sessionCopy = iter->second->getSession();
std::string key = sessionCopy.get_user_name() + sessionCopy.get_client_ip();
activeSessions_.erase(iter);
stats::StatsManager::decValue(kNumActiveSessions);
// delete session count from cache
subSessionCount(key);
}
Expand Down

0 comments on commit a25bc9c

Please sign in to comment.