Merge pull request #3774 from dyusupov/master

ISGW doesnt need large chunk cache
This commit is contained in:
Dmitry Yusupov
2019-09-05 18:12:38 -07:00
committed by GitHub
+3
View File
@@ -73,6 +73,9 @@ func GetInitiatorEnvArr(svctype string, embedded bool, chunkCacheSize resource.Q
Name: "CCOWD_CGROUP_MEMLIM",
Value: strconv.FormatInt(cgroupTgt, 10),
})
} else if svctype == "isgw" {
// ISGW doesn't need large chunk cache
cacheSize = rMemLim.Value() * 25 / 100
} else if svctype == "s3" || svctype == "swift" {
// adjust restapi's node.js GC settings. This memory
// will be shared among all the HTTP worker processes