Skip to content

Commit

Permalink
Revert "Try to address unit test race flakes around log size"
Browse files Browse the repository at this point in the history
This reverts commit 51992b8.

Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Feb 28, 2023
1 parent 51992b8 commit a85c129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/vt/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@ var (
// calls this function, or call this function directly before parsing
// command-line arguments.
func RegisterFlags(fs *pflag.FlagSet) {
defaultMaxSize := glog.MaxSize
fs.Uint64Var(&glog.MaxSize, "log_rotate_max_size", defaultMaxSize, "size in bytes at which logs are rotated (glog.MaxSize)")
fs.Uint64Var(&glog.MaxSize, "log_rotate_max_size", glog.MaxSize, "size in bytes at which logs are rotated (glog.MaxSize)")
}

0 comments on commit a85c129

Please sign in to comment.