Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
This commit is contained in:
Sally MacFarlane
2022-05-04 11:24:58 +10:00
committed by GitHub
parent 47197235a9
commit fb25cdb198
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ public class SynchronizerConfiguration {
* The range of block numbers (relative to the current chain head and the best network block) that
* are considered appropriate to import as new blocks are announced on the network.
*
* @return the range of blocks considered valid to import from the network, relative to the the
* @return the range of blocks considered valid to import from the network, relative to the
* current chain head.
*/
public Range<Long> getBlockPropagationRange() {

View File

@@ -86,7 +86,7 @@ public class MetricsPushGatewayService implements MetricsService {
try {
pushGateway.delete(config.getPrometheusJob());
} catch (final Exception e) {
LOG.error("Could not clean up results on the Prometheus Push Gateway.", e);
LOG.error("Could not clean up results on the Prometheus Push Gateway.", e);
// Do not complete exceptionally, the gateway may be down and failures
// here cause the shutdown to loop. Failure is acceptable.
}