mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-16236 changed the property to opencmis.maxContentSizeMB / opencmis.memoryThresholdKB and adjusted the test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,14 +57,22 @@ public class AlfrescoCmisServiceFactory extends AbstractServiceFactory
|
||||
private AlfrescoCmisStreamInterceptor cmisStreams;
|
||||
private AuthorityService authorityService;
|
||||
|
||||
public void setMemoryThreshold(int memoryThreshold)
|
||||
/**
|
||||
*
|
||||
* @param memoryThreshold in KB
|
||||
*/
|
||||
public void setMemoryThreshold(double memoryThreshold)
|
||||
{
|
||||
this.memoryThreshold = memoryThreshold;
|
||||
this.memoryThreshold = ((int) memoryThreshold) * 1024;
|
||||
}
|
||||
|
||||
public void setMaxContentSize(long maxContentSize)
|
||||
/**
|
||||
*
|
||||
* @param maxContentSize in MB
|
||||
*/
|
||||
public void setMaxContentSize(double maxContentSize)
|
||||
{
|
||||
this.maxContentSize = maxContentSize;
|
||||
this.maxContentSize = ((long) maxContentSize) * 1024 * 1024;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user