mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added a primitive but seemingly effective store name cache. Switching the
stores table to a synthetic primary key caused a 15% performance drop. This gets that performance back, plus or minus. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -754,6 +754,7 @@ public class AVMRepository
|
||||
}
|
||||
AVMDAOs.Instance().fAVMStorePropertyDAO.delete(store);
|
||||
AVMDAOs.Instance().fAVMStoreDAO.delete(store);
|
||||
AVMDAOs.Instance().fAVMStoreDAO.invalidateCache();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2261,5 +2262,6 @@ public class AVMRepository
|
||||
}
|
||||
store.setName(destName);
|
||||
fLookupCache.onDelete(sourceName);
|
||||
AVMDAOs.Instance().fAVMStoreDAO.invalidateCache();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user