Skip to content

Commit

Permalink
Removed timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Oct 16, 2023
1 parent 1abb570 commit 5cd9edd
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class RemoteServices(
): CompletableFuture<ClusterState?> {
return controlPlaneClient.getState(chooseInstance(instances))
.thenApply { servicesStateFromCluster(cluster, it) }
.orTimeout(interval, TimeUnit.SECONDS)
.exceptionally {
meterRegistry.counter("cross-dc-synchronization.$cluster.state-fetcher.errors").increment()
logger.warn("Error synchronizing instances ${it.message}", it)
Expand Down

0 comments on commit 5cd9edd

Please sign in to comment.