(remove-sessions conn {:keys [table] :or {table :session_store}})removes stale sessions from the session table
removes stale sessions from the session table
(start-cleaner conn)(start-cleaner conn {:keys [interval] :or {interval 60} :as config})starts a session cleaner conn - database connection config - configuration map that ring-jdbc-session was initialized with
starts a session cleaner conn - database connection config - configuration map that ring-jdbc-session was initialized with
(stop-cleaner session-cleaner)stops the instance of the session cleaner
stops the instance of the session cleaner
Something that can be stopped
Something that can be stopped
(stop _)Stop (idempotent)
Stop (idempotent)
(stopped? _)Return true if stopped, false otherwise
Return true if stopped, false otherwise
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |