예제 #1
0
 def put(self, **kwargs):
     super(GandalfFilter, self).put(**kwargs)
     db.get(self.key())   # Force-commit, needed for high-replication store
     from gandalf.cache import GandalfCache
     GandalfCache.delete_from_memcache()
예제 #2
0
 def delete(self, **kwargs):
     super(GandalfFilter, self).delete(**kwargs)
     from gandalf.cache import GandalfCache
     GandalfCache.delete_from_memcache()
예제 #3
0
 def put(self, **kwargs):
     super(GandalfBridge, self).put(**kwargs)
     # TODO(csilvers): any reason not to move this to the top of the file?
     from gandalf.cache import GandalfCache
     GandalfCache.delete_from_memcache()
예제 #4
0
 def put(self, **kwargs):
     from gandalf.cache import GandalfCache
     super(GandalfFilter, self).put(**kwargs)
     GandalfCache.delete_from_memcache()
예제 #5
0
 def put(self, **kwargs):
     super(GandalfBridge, self).put(**kwargs)
     from gandalf.cache import GandalfCache
     GandalfCache.delete_from_memcache()
예제 #6
0
 def put(self, **kwargs):
     from gandalf.cache import GandalfCache
     super(GandalfFilter, self).put(**kwargs)
     GandalfCache.delete_from_memcache()
예제 #7
0
 def put(self, **kwargs):
     super(GandalfBridge, self).put(**kwargs)
     from gandalf.cache import GandalfCache
     GandalfCache.delete_from_memcache()