mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
add codespell action (#18818)
Original work here, #18474, refixed and updated.
This commit is contained in:
@@ -90,7 +90,7 @@ func (sm *siteResyncMetrics) init(ctx context.Context) {
|
||||
}
|
||||
duration := time.Duration(r.Float64() * float64(time.Second*10))
|
||||
if duration < time.Second {
|
||||
// Make sure to sleep atleast a second to avoid high CPU ticks.
|
||||
// Make sure to sleep at least a second to avoid high CPU ticks.
|
||||
duration = time.Second
|
||||
}
|
||||
time.Sleep(duration)
|
||||
|
||||
Reference in New Issue
Block a user