diff --git a/devops/azure/chart/templates/deploymentSB.yaml b/devops/azure/chart/templates/deploymentSB.yaml index 49b24272e615b18abd5645b8d3af79a5587f0633..7da626e35df7e503b5135dbc8b9f23678a23a22b 100644 --- a/devops/azure/chart/templates/deploymentSB.yaml +++ b/devops/azure/chart/templates/deploymentSB.yaml @@ -95,6 +95,8 @@ spec: value: "500" - name: initial_subscription_manager_delay_seconds value: "0" + - name: JAVA_OPTS + value: "-Xss256k" - name: consecutive_subscription_manager_delay_seconds value: "600" - name: service_bus_enabled diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/messageBus/SubscriptionManagerImpl.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/messageBus/SubscriptionManagerImpl.java index e5f444306d6d71d5ff6852f2ef2130a9678f3bdc..f97cc59d42f64840723c1a1a287b173ae02e7e99 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/messageBus/SubscriptionManagerImpl.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/messageBus/SubscriptionManagerImpl.java @@ -127,7 +127,7 @@ public class SubscriptionManagerImpl implements ISubscriptionManager { new MessageHandlerOptions(Integer.parseUnsignedInt(azureServiceBusConfig.getMaxConcurrentCalls()), false, Duration.ofSeconds(Integer.parseUnsignedInt(azureServiceBusConfig.getMaxLockRenewDurationInSeconds())), - Duration.ofSeconds(1) + Duration.ofSeconds(10) ), executorService); }