Remove log statement

This commit is contained in:
Nicholas Kariniemi 2014-10-06 20:16:09 +03:00
parent 48e7ef1b50
commit e3eb2639cc
2 changed files with 1 additions and 3 deletions

View file

@ -35,8 +35,7 @@
(defn connect-and-handle-events [to-db db-name & [mongo-url]]
(a/go-loop []
(if-let [state (<! to-db)]
(do (println "DB got new state")
(update-db! state)
(do (update-db! state)
(recur))
(println "Database disconnected")))
(let [_conn (connect! db-name mongo-url)]

View file

@ -14,7 +14,6 @@
(defn send-pending-msg [websocket]
(when (and (.isOpen websocket)
(not (nil? @pending-msg)))
(logs "Send message:" @pending-msg)
(.send websocket (pr-str @pending-msg))
(reset! pending-msg nil)))