diff options
author | varun gudisena <vg411h@att.com> | 2018-04-09 23:33:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-09 23:33:03 +0000 |
commit | 5ad103804d5632ba28e13090bee91e7f15c02831 (patch) | |
tree | 7bf2dfc35936cf18b44bf5a6400bc49d7333a284 /src/main/java | |
parent | cd7d8f5c03d633ab2c2bafbb55f5170cf9940a11 (diff) | |
parent | ed9deaffa807a441c15599bf46b977c2ca0d5f19 (diff) |
Merge "sonar critical for errorhandling"
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java b/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java index e6ad395..bb2effd 100644 --- a/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java +++ b/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java @@ -535,7 +535,7 @@ public class EventsServiceImpl implements EventsService { // start processing, building a batch to push to the backend final long startMs = System.currentTimeMillis(); long count = 0; - long maxEventBatch = 1024 * 16; + long maxEventBatch = (long)1024 * 16; String evenlen = AJSCPropertiesMap.getProperty(CambriaConstants.msgRtr_prop,BATCH_LENGTH); if(null!=evenlen)maxEventBatch=Long.parseLong(evenlen); //final long maxEventBatch = ctx.getConfigReader().getSettings().getLong(BATCH_LENGTH, 1024 * 16); |