Commit 67d4a9f3 authored by jan.koester's avatar jan.koester
Browse files

test

parent 2a4fb3db
Loading
Loading
Loading
Loading
+0 −4
Changes for src/session.h: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -32,8 +32,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <uuidp.h>

#include <dbpp/database.h>

#pragma once

namespace blogi {
@@ -53,8 +51,6 @@ namespace blogi {

    void            _initSession();

    const dbpp::ReplicatedDatabase &_sessiondb;

    // In-memory session cache to avoid DB round-trip on every request
    static constexpr int CACHE_TTL_SECONDS = 120;
    static std::mutex _cacheMutex;