fixed issue 1708:gae memcache_contrib does not set the time_expire, thanks Nicholas
This commit is contained in:
1 parent
8fb0b71be6
commit
59290534bc
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.7.2-stable+timestamp.2013.10.09.11.30.04
|
||||
Version 2.7.2-stable+timestamp.2013.10.09.11.56.54
|
||||
@@ -37,7 +37,7 @@ class MemcacheClient(object):
|
||||
self.client.delete(key)
|
||||
else:
|
||||
value = f()
|
||||
self.client.set(key, (time.time(), value))
|
||||
self.client.set(key, (time.time(), value), time=time_expire)
|
||||
return value
|
||||
|
||||
def increment(self, key, value=1):
|
||||
|
||||
Reference in new issue
Block a user