Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/3791/head
Sally MacFarlane 3 years ago committed by GitHub
parent 47197235a9
commit fb25cdb198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/SynchronizerConfiguration.java
  2. 2
      metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/MetricsPushGatewayService.java

@ -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() {

@ -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.
}

Loading…
Cancel
Save