From 24d9515944b65e2ab40c2e4998c9d02dc262c51f Mon Sep 17 00:00:00 2001 From: Jitendra Dhawan Date: Thu, 12 Dec 2024 15:16:49 +0530 Subject: [PATCH] Remove WaitStrategy in the Retryer used to check if ServiceRegistry is refreshed during ServiceRegistryUpdater startup --- .../core/finder/serviceregistry/ServiceRegistryUpdater.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ranger-core/src/main/java/io/appform/ranger/core/finder/serviceregistry/ServiceRegistryUpdater.java b/ranger-core/src/main/java/io/appform/ranger/core/finder/serviceregistry/ServiceRegistryUpdater.java index 4d8f17f7..70d43b7c 100644 --- a/ranger-core/src/main/java/io/appform/ranger/core/finder/serviceregistry/ServiceRegistryUpdater.java +++ b/ranger-core/src/main/java/io/appform/ranger/core/finder/serviceregistry/ServiceRegistryUpdater.java @@ -75,7 +75,6 @@ public void start() { RetryerBuilder.newBuilder() .retryIfResult(r -> null == r || !r) .retryIfException() - .withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.SECONDS)) .build() .call(serviceRegistry::isRefreshed); }