In-memory session storage with mortality.
In-memory session storage with mortality.
(aging-memory-store & opts)
Creates an in-memory session storage engine.
Creates an in-memory session storage engine.
(read-timestamp store key)
Read a session from the store and return its timestamp. If no key exists, returns nil.
Read a session from the store and return its timestamp. If no key exists, returns nil.
(in-thread f)
Run a function in a thread.
Run a function in a thread.
(sweeper-thread {:keys [req-count req-limit session-map event-fns]} sweep-delay)
Sweeper thread that watches the session and cleans it.
Sweeper thread that watches the session and cleans it.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close