Permalink
Browse files

Cache is now invalidated at commit instead of at doSet.

  • Loading branch information...
1 parent c58e568 commit 1bf2f2fd922940dc9cc4d5c6af30062e94ad90a1 @liebke committed Dec 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/avout/refs.clj
View
@@ -66,7 +66,7 @@
StateCache
(invalidateCache [this]
- (zk/children client (str nodeName cfg/TXN) :watcher (fn [event] (.invalidateCache this)))
+ (zk/exists client nodeName :watcher (fn [event] (.invalidateCache this)))
(swap! cache assoc :valid false))
(getCache [this]

0 comments on commit 1bf2f2f

Please sign in to comment.