workaround for carmine's problem added

This commit is contained in:
Christian Mueller
2014-01-19 21:25:40 +01:00
parent a4aeb34c49
commit c162c1f601
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
[noir.util.crypt :only [encrypt]])
(:require [taoensso.carmine :as car :refer (wcar)]))
(def conn {:pool {} :spec {:uri (get-setting :db-url)}})
(def conn {:pool {} :spec (read-string (get-setting :db))})
(defmacro redis [cmd & body]
`(car/wcar conn
(~(symbol "car" (name cmd))