back to DB uri

This commit is contained in:
Christian Mueller
2014-01-19 23:02:22 +01:00
parent 00a93be8b9
commit 27705c0213
+2 -1
View File
@@ -4,7 +4,8 @@
[noir.util.crypt :only [encrypt]])
(:require [taoensso.carmine :as car :refer (wcar)]))
(def conn {:pool {} :spec (read-string (get-setting :db))})
(def conn {:pool {} :spec {:uri (get-setting :db-url)}})
(defmacro redis [cmd & body]
`(car/wcar conn
(~(symbol "car" (name cmd))