Open ktoso opened 4 years ago
Today we just try once ~keep trying forever~ to contact the initial contact points; there should be some maximum number of attempts
This should update receiveStartMonitoring(node: Node) { to make a small timer and have counts for the attempts
receiveStartMonitoring(node: Node) {
Also improve the log statements then, e.g.
self.log.debug("Failed to initial ping, will try again (\(attempt)/\(maxAttempts) attempts made)", metadata: ["ping/target": "\(node)", "error": "\(error)"])
Today we just try once ~keep trying forever~ to contact the initial contact points; there should be some maximum number of attempts
This should update
receiveStartMonitoring(node: Node) {
to make a small timer and have counts for the attempts