mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
keep maximum concurrent operations to 512 (to sustain upto 1024 open fds)
This commit is contained in:
parent
fb9b53026d
commit
a42b576382
@ -519,7 +519,7 @@ const (
|
|||||||
|
|
||||||
// diskMaxConcurrent is the maximum number of running concurrent operations
|
// diskMaxConcurrent is the maximum number of running concurrent operations
|
||||||
// for local and (incoming) remote disk ops respectively.
|
// for local and (incoming) remote disk ops respectively.
|
||||||
var diskMaxConcurrent = 50
|
var diskMaxConcurrent = 512
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
if s, ok := os.LookupEnv("_MINIO_DISK_MAX_CONCURRENT"); ok && s != "" {
|
if s, ok := os.LookupEnv("_MINIO_DISK_MAX_CONCURRENT"); ok && s != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user