Browse Source

[tm-monitor] only restart EventMeter

pull/1943/head
Anton Kaliaev 8 years ago
parent
commit
c053c15231
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tm-monitor/monitor/node.go

+ 1
- 1
tm-monitor/monitor/node.go View File

@ -182,7 +182,7 @@ func (n *Node) RestartBackOff() error {
d := time.Duration(math.Exp2(float64(attempt)))
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"))
} else {
// TODO: authenticate pubkey


Loading…
Cancel
Save