Liking cljdoc? Tell your friends :D

jdbc-ring-session.cleaner


remove-sessionsclj

(remove-sessions conn {:keys [table] :or {table :session_store}})

removes stale sessions from the session table

removes stale sessions from the session table
raw docstring

start-cleanerclj

(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
raw docstring

stop-cleanerclj

(stop-cleaner session-cleaner)

stops the instance of the session cleaner

stops the instance of the session cleaner
raw docstring

Stoppablecljprotocol

Something that can be stopped

Something that can be stopped

stopclj

(stop _)

Stop (idempotent)

Stop (idempotent)

stopped?clj

(stopped? _)

Return true if stopped, false otherwise

Return true if stopped, false otherwise
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close