[migration] stop caching the mapping from constraint type name to eid
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 07 Jul 2014 16:07:57 +0200
changeset 10014 74b793086067
parent 10013 b68088082280
child 10015 57a16bef82c0
[migration] stop caching the mapping from constraint type name to eid It's not so frequent that a cache seems necessary, and we were not invalidating that cache when adding a new constraint type. Related to #3724892.
server/migractions.py
--- a/server/migractions.py	Tue Jun 17 17:53:31 2014 +0200
+++ b/server/migractions.py	Mon Jul 07 16:07:57 2014 +0200
@@ -320,7 +320,6 @@
         """cached group mapping"""
         return ss.group_mapping(self.cnx)
 
-    @cached
     def cstrtype_mapping(self):
         """cached constraint types mapping"""
         return ss.cstrtype_mapping(self.cnx)