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

Commit

Permalink
fix following judge
Browse files Browse the repository at this point in the history
  • Loading branch information
weichang-x committed Jul 7, 2021
1 parent 92664df commit 6803b38
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 6803b38

Please sign in to comment.