# HG changeset patch # User Julien Cristau # Date 1404742077 -7200 # Node ID 74b793086067607c9d47bdcce4055635f8700929 # Parent b68088082280feb2f0dbbf6c432f37556096d8c7 [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. diff -r b68088082280 -r 74b793086067 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)