Commit 7cedcb57 authored by jan.koester's avatar jan.koester
Browse files

test

parent 5090c97d
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/cluster.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ namespace authdb {
            std::vector<std::pair<uuid::uuid, bool>> gpo_results;
            int64_t created_at{0};
        };
        void listAllSessions(std::vector<SessionInfo> &out);
        std::vector<SessionInfo> listAllSessions();

        bool isDegraded() const { return degraded_; }
        bool isCritical() const { return critical_; }
+1 −1
Changes for src/session.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -559,7 +559,7 @@ void authdb::ClusterSession::listSessions(std::vector<SessionInfo> &out){
    if (!g_Cluster || !g_Cluster->isRunning()) return;

    std::vector<Cluster::SessionInfo> csessions;
    g_Cluster->listAllSessions(csessions);
    csessions = g_Cluster->listAllSessions();
    for (const auto &cs : csessions) {
        SessionInfo info;
        info.sid = cs.sid;