RM-3906: set maxProcessedRecords to batchsize value if it is not set

from the request
This commit is contained in:
Silviu Dinuta
2016-09-14 10:32:42 +03:00
parent cc78febd0c
commit 7d7d10768d

View File

@@ -134,7 +134,8 @@ public class DynamicAuthoritiesGet extends DeclarativeWebScript implements Recor
return model;
}
Long totalNumberOfRecordsToProcess = 0L;
//default total number of records to be processed to batch size value
Long totalNumberOfRecordsToProcess = batchSize;
if (StringUtils.isNotBlank(totalToBeProcessedRecordsStr))
{
try