Skip to content

Commit

Permalink
distsql: change default disk monitor increment to 1MiB
Browse files Browse the repository at this point in the history
The previous increment was 64MiB. This was unnecessarily large and
provided too high a granularity for stat reporting.

Closes #26793

Release note: None
  • Loading branch information
asubiotto committed Jun 20, 2018
1 parent 8751277 commit ec3ce78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/base/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func TempStorageConfigFromEnv(
mon.DiskResource,
nil, /* curCount */
nil, /* maxHist */
64*1024*1024, /* increment */
1024*1024, /* increment */
maxSizeBytes/10, /* noteworthy */
st,
)
Expand Down

0 comments on commit ec3ce78

Please sign in to comment.