Added a TODO

This commit is contained in:
Peter Selby 2017-12-16 23:33:27 -08:00
parent cb52f6f54e
commit b96bf6c2d6
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@
(let [global-url (str base-url "global/")]
(sanitize (json/read-str (:body (http/get global-url))))))
;; TODO: There's no reason to do this all in one place. Each coin
;; should have a separate schedule, and the schedule should be
;; returned, so it can be stopped individually.
(defn start-collector [interesting-coins timing]
(let [measures-chan (async/chan
(async/sliding-buffer