mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged PATCHES/V4.1.3 to HEAD
45612: Fix for ALF-17456 BM-0013: SOAK01_04: 150K+ calls to AuthorityDaoImpl.isAuthorityContained in on login 45648: Final part for ALF-17456 BM-0013: SOAK01_04: 150K+ calls to AuthorityDaoImpl.isAuthorityContained in on login 46033: Build fixes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -258,8 +258,15 @@ public class TransactionalCache<K extends Serializable, V extends Object>
|
||||
|
||||
public boolean getDisableSharedCacheReadForTransaction()
|
||||
{
|
||||
TransactionData txnData = getTransactionData();
|
||||
return txnData.noSharedCacheRead;
|
||||
if (AlfrescoTransactionSupport.getTransactionId() != null)
|
||||
{
|
||||
TransactionData txnData = getTransactionData();
|
||||
return txnData.noSharedCacheRead;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user