[tm-monitor] only restart EventMeter
This commit is contained in:
parent
6e00ce9bbd
commit
c053c15231
|
@ -182,7 +182,7 @@ func (n *Node) RestartBackOff() error {
|
||||||
d := time.Duration(math.Exp2(float64(attempt)))
|
d := time.Duration(math.Exp2(float64(attempt)))
|
||||||
time.Sleep(d * time.Second)
|
time.Sleep(d * time.Second)
|
||||||
|
|
||||||
if err := n.Start(); err != nil {
|
if err := n.em.Start(); err != nil {
|
||||||
n.logger.Log("err", errors.Wrap(err, "restart failed"))
|
n.logger.Log("err", errors.Wrap(err, "restart failed"))
|
||||||
} else {
|
} else {
|
||||||
// TODO: authenticate pubkey
|
// TODO: authenticate pubkey
|
||||||
|
|
Loading…
Reference in New Issue