Skip to content

Commit

Permalink
cluster: fix the comment
Browse files Browse the repository at this point in the history
Signed-off-by: Shafreeck Sea <[email protected]>
  • Loading branch information
shafreeck committed Nov 19, 2019
1 parent 48e74e6 commit e4c7d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cluster_stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (s LoadState) String() string {

// NumberOfEntries is the max number of StatEntry that preserved,
// it is the history of a store's hearbeats. The interval of store
// hearbeats from TiKV is 10s, so we can preserve 300 entries per
// hearbeats from TiKV is 10s, so we can preserve 30 entries per
// store which is about 5 minutes.
const NumberOfEntries = 30

Expand Down

0 comments on commit e4c7d4e

Please sign in to comment.