mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

progressReportIntervalMilliseconds (old ProgressReportIntervalMilliseconds) is accessed by multiple goroutines and it is reported as race. For avoiding this report, this commit wraps the variable with functions. They access the variable with atomic operations so the race won't be reported.