Skip to content

Commit

Permalink
Improve memory defragmentation (#7788)
Browse files Browse the repository at this point in the history
Signed-off-by: Breezewish <breezewish@pingcap.com>
  • Loading branch information
breezewish authored and sre-bot committed May 11, 2020
1 parent 4548658 commit 92c5a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tikv_util/src/metrics/threads_linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ impl TidRetriever {
} else {
self.tid_buffer = new_tid_buffer;
self.tid_buffer_update_interval = TID_MIN_UPDATE_INTERVAL;
self.tid_buffer_last_update = Instant::now();
}
self.tid_buffer_last_update = Instant::now();
}

&self.tid_buffer
Expand Down

0 comments on commit 92c5a15

Please sign in to comment.