From 8fda27e996760143992ed9ca541bede4aa3011af Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 13 Apr 2016 19:18:34 +0700 Subject: [PATCH] Disable cache --- src/taoensso/nippy.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 2846b66..465ab97 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -709,10 +709,10 @@ ;;;; Caching ; Experimental (def ^:dynamic ^:private *cache_* "{ }" nil) -(defmacro ^:private with-cache [& body] - `(binding [*cache_* (atom nil)] ~@body)) +;; (defmacro ^:private with-cache [& body] +;; `(binding [*cache_* (atom nil)] ~@body)) -;; (defmacro ^:private with-cache [& body] `(do ~@body)) ; Disable +(defmacro ^:private with-cache [& body] `(do ~@body)) ; Disable (defrecord CacheWrapped [value]) (defn cache "Experimental!" [x]