diff --git a/lib/ping.js b/lib/ping.js index dcdd549..1ebbedf 100644 --- a/lib/ping.js +++ b/lib/ping.js @@ -140,12 +140,6 @@ class PingController { const version = serverRegistration.getNextProtocolVersion() ping(serverRegistration, config.rates.connectTimeout, (err, resp) => { - if (Math.random() < 0.1) { - err = { - message: 'random fail' - } - resp = undefined - } if (err) { logger.log('error', 'Failed to ping %s: %s', serverRegistration.data.ip, err.message) }