Skip to content
Snippets Groups Projects
Commit 2cd84a5d authored by Allen Gilliland's avatar Allen Gilliland
Browse files

update last-login event listener to use the new `events-init` bootstrapping pattern.

parent 34309850
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
;;; ## ---------------------------------------- LIFECYLE ----------------------------------------
;; this is what actually kicks off our listener for events
(when (config/is-dev?)
(log/info "Starting last-login events listener")
(events/start-event-listener last-login-topics last-login-channel process-last-login-event))
(defn events-init []
(when-not (config/is-test?)
(log/info "Starting last-login events listener")
(events/start-event-listener last-login-topics last-login-channel process-last-login-event)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment