Snap for 7838477 from 9db406c811
to sc-d2-release
Change-Id: I9e0b98ea72965c9dea91f8f928de223bf74511db
This commit is contained in:
commit
0b66a869be
|
@ -244,7 +244,7 @@ func main() {
|
|||
jobs = runtime.NumCPU() / 4
|
||||
|
||||
ramGb := int(config.TotalRAM() / 1024 / 1024 / 1024)
|
||||
if ramJobs := ramGb / 25; ramGb > 0 && jobs > ramJobs {
|
||||
if ramJobs := ramGb / 30; ramGb > 0 && jobs > ramJobs {
|
||||
jobs = ramJobs
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue