Commit 3d56ce87 authored by Nicolas Delaby's avatar Nicolas Delaby

Transmit expiracy value of cache factory to DistributedRamCache plugin.

This patch authorize to purge old entries on backend side automatically (if backend
storage support this feature)



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39385 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b916130f
......@@ -84,6 +84,7 @@ class DistributedRamCache(BaseCache):
dictionary = local_dict[configuration_key]
except KeyError:
dictionary = MemcachedDict(self._servers.split('\n'),
expiration_time=self._expiration_time,
server_max_key_length=self._server_max_key_length,
server_max_value_length=self._server_max_value_length)
local_dict[configuration_key] = dictionary
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment