mirror of
https://github.com/minio/minio.git
synced 2025-11-11 06:20:14 -05:00
add codespell action (#18818)
Original work here, #18474, refixed and updated.
This commit is contained in:
2
internal/config/cache/cache.go
vendored
2
internal/config/cache/cache.go
vendored
@@ -135,7 +135,7 @@ func (c Config) Get(r *CondCheck) (*ObjectInfo, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// We do not want Get's to take so much time, anything
|
||||
// We do not want Gets to take so much time, anything
|
||||
// beyond 250ms we should cut it, remote cache is too
|
||||
// busy already.
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 250*time.Millisecond)
|
||||
|
||||
Reference in New Issue
Block a user