Skip to content

Commit

Permalink
#5 stop is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ojow committed Jun 4, 2018
1 parent 8dd0dbe commit 55c7acf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions re/src/re/coeffect/timer_service.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(defmethod ig/init-key :re.coeffect/timer-service [_ {:keys [kafka topic encoder]}]
(let []
["timer-service"
^{:stop (fn [] (println "TODO: cancel timer"))}
;; :re/program :re.crm/entity keys are set by re.crm component. So,
;; currently we couple these two components, but it's not necessary in
;; general, in the future we can change this
Expand All @@ -23,5 +22,3 @@
:key key
:value bytes})))]))

(defmethod ig/halt-key! :re.coeffect/timer-service [_ [_ f]]
((:stop (meta f))))

0 comments on commit 55c7acf

Please sign in to comment.