From 342703276a0b5e1a031890010dfae5b5a8ab0d66 Mon Sep 17 00:00:00 2001 From: "Boslet, Cory" Date: Thu, 22 Oct 2020 13:43:15 -0400 Subject: Fixed the lock times and populated error variable Fixed the lock times and populated error variable only on error so it doesnt over write Issue-ID: SO-3330 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I2d9bd05329a2a4c752cd9fc6f740891adb6d8251 --- .../main/java/org/onap/so/utils/ExternalTaskServiceUtils.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'common/src/main') diff --git a/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java b/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java index c601b88ae5..1a8307e8bc 100644 --- a/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java +++ b/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java @@ -64,16 +64,6 @@ public class ExternalTaskServiceUtils { return Integer.parseInt(env.getProperty("workflow.topics.maxClients", "10")); } - public Long getLockDuration() { - Long lockDuration = Long.parseLong(env.getProperty("mso.audit.lock-time", "60000")); - return lockDuration; - } - - public Long getLongLockDuration() { - Long lockDuration = Long.parseLong(env.getProperty("mso.long.lock-time", "600000")); - return lockDuration; - } - @ScheduledLogging @Scheduled(fixedDelay = 30000) public void checkAllClientsActive() { -- cgit 1.2.3-korg