Skip to content
Snippets Groups Projects
Commit 92c33f9a authored by Alok Joshi's avatar Alok Joshi
Browse files

Merge branch 'message_handler_options' into 'master'

Memory utilization and service bus exceptions improvement

See merge request !354
parents 4696e5b0 5b89ef69
No related branches found
No related tags found
1 merge request!354Memory utilization and service bus exceptions improvement
Pipeline #168967 canceled
...@@ -95,6 +95,8 @@ spec: ...@@ -95,6 +95,8 @@ spec:
value: "500" value: "500"
- name: initial_subscription_manager_delay_seconds - name: initial_subscription_manager_delay_seconds
value: "0" value: "0"
- name: JAVA_OPTS
value: "-Xss256k"
- name: consecutive_subscription_manager_delay_seconds - name: consecutive_subscription_manager_delay_seconds
value: "600" value: "600"
- name: service_bus_enabled - name: service_bus_enabled
......
...@@ -127,7 +127,7 @@ public class SubscriptionManagerImpl implements ISubscriptionManager { ...@@ -127,7 +127,7 @@ public class SubscriptionManagerImpl implements ISubscriptionManager {
new MessageHandlerOptions(Integer.parseUnsignedInt(azureServiceBusConfig.getMaxConcurrentCalls()), new MessageHandlerOptions(Integer.parseUnsignedInt(azureServiceBusConfig.getMaxConcurrentCalls()),
false, false,
Duration.ofSeconds(Integer.parseUnsignedInt(azureServiceBusConfig.getMaxLockRenewDurationInSeconds())), Duration.ofSeconds(Integer.parseUnsignedInt(azureServiceBusConfig.getMaxLockRenewDurationInSeconds())),
Duration.ofSeconds(1) Duration.ofSeconds(10)
), ),
executorService); executorService);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment