Issue #1538 Fixed registry sync problem
Change-Id: I854dafa1214cd8f25db1000eaf56c75de75d13eb Former-commit-id: be80db7c89c1c0f366f6ad273046b82f1736067b
This commit is contained in:
parent
63f8ecab5a
commit
eaf2ac74f7
1 changed files with 2 additions and 4 deletions
|
@ -249,9 +249,10 @@ public class RegistryReplicationManager {
|
|||
} else {
|
||||
synchronizeRegistryWithFederation(registryToSyncFrom
|
||||
.getRegistryBaseURL());
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
startUptimeMonitor();
|
||||
} catch (Exception e) {
|
||||
// If no servers are found, don't retry, just throw the
|
||||
// exception
|
||||
|
@ -272,9 +273,6 @@ public class RegistryReplicationManager {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void startUptimeMonitor() {
|
||||
statusHandler.info("Starting federated uptime monitor...");
|
||||
scheduler.scheduleAtFixedRate(federatedRegistryMonitor, 0, 1,
|
||||
TimeUnit.MINUTES);
|
||||
|
|
Loading…
Add table
Reference in a new issue