Skip to content

Commit ac8eb9c

Browse files
authored
Added default values in ParseInstanceInfo class for subscription thread handling (#467)
- Added default values for subsciption thread handling in ParseInstanceInfo class - Updated pom.xml file with a new version
1 parent 5435c7b commit ac8eb9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.github.ericsson</groupId>
88
<artifactId>eiffel-intelligence</artifactId>
9-
<version>2.2.1</version>
9+
<version>2.2.2</version>
1010
<packaging>war</packaging>
1111

1212
<parent>

src/main/java/com/ericsson/ei/controller/model/ParseInstanceInfoEI.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,15 @@ private class ThreadsValue {
195195
private int eventHandlerMaxPoolSize;
196196

197197
@Getter
198-
@Value("${subscription-handler.threads.corePoolSize}")
198+
@Value("${subscription-handler.threads.corePoolSize:100}")
199199
private int subscriptionHandlerCorePoolSize;
200200

201201
@Getter
202-
@Value("${subscription-handler.threads.queueCapacity}")
202+
@Value("${subscription-handler.threads.queueCapacity:5000}")
203203
private int subscriptionHandlerQueueCapacity;
204204

205205
@Getter
206-
@Value("${subscription-handler.threads.maxPoolSize}")
206+
@Value("${subscription-handler.threads.maxPoolSize:150}")
207207
private int subscriptionHandlerMaxPoolSize;
208208
}
209209
}

0 commit comments

Comments
 (0)