Commit f1e3e016 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use a ordinary mapping object instead of PersistentMapping for caching.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2913 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d3c00309
......@@ -71,7 +71,7 @@ class CachingMethod:
since this is done once per 100 calls.
"""
# Use this global variable to store cached objects.
cached_object_dict = PersistentMapping()
cached_object_dict = {}
def __init__(self, callable_object, id = None, cache_duration = 180):
"""
......
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