Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from weichang-bianjie/fix_metric
Browse files Browse the repository at this point in the history
R4R: fix following judge in monitor
  • Loading branch information
weichang-x authored Jul 7, 2021
2 parents 746bff7 + 6803b38 commit c9bf38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (node *clientNode) nodeStatusReport() {
node.nodeTimeGap.Set(float64(timeGap))
}

if !follow {
if follow {
node.syncWorkWay.Set(float64(SyncTaskFollowing))
} else {
node.syncWorkWay.Set(float64(SyncTaskCatchingUp))
Expand Down

0 comments on commit c9bf38d

Please sign in to comment.