mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 06:40:53 +00:00
Minor changes like i18n and functionality for stopping one replica
This commit is contained in:
1 parent
290602288d
commit
b994b71236
8 files changed
+26
-4
No files matched your search
-1
@@ -165,7 +165,6 @@ public class ReplicationServiceImpl implements ReplicationService, OperationExec
|
||||
masterChannel = null;
|
||||
}
|
||||
}
|
||||
logger.info("Unregistered replica " + replica.getIpAddress().toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -125,10 +125,11 @@ public class Replicator implements Runnable {
|
||||
try {
|
||||
logger.info("Channel seems to be closed. Trying to reconnect consumer queue...");
|
||||
this.consumer = master.getConsumer();
|
||||
logger.info("OK - channel reconnected!");
|
||||
Thread.sleep(CHECK_INTERVAL_MILLIS);
|
||||
checksPerformed += 1;
|
||||
} catch (IOException eio) {
|
||||
eio.printStackTrace();
|
||||
// do not print exceptions known to occur
|
||||
}
|
||||
}
|
||||
} catch (InterruptedException eir) {
|
||||
|
||||
Reference in new issue
Block a user